/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace WellArchitected { namespace Model { /** */ class CreateProfileShareRequest : public WellArchitectedRequest { public: AWS_WELLARCHITECTED_API CreateProfileShareRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateProfileShare"; } AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override; /** *

The profile ARN.

*/ inline const Aws::String& GetProfileArn() const{ return m_profileArn; } /** *

The profile ARN.

*/ inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; } /** *

The profile ARN.

*/ inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; } /** *

The profile ARN.

*/ inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); } /** *

The profile ARN.

*/ inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); } /** *

The profile ARN.

*/ inline CreateProfileShareRequest& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;} /** *

The profile ARN.

*/ inline CreateProfileShareRequest& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;} /** *

The profile ARN.

*/ inline CreateProfileShareRequest& WithProfileArn(const char* value) { SetProfileArn(value); return *this;} inline const Aws::String& GetSharedWith() const{ return m_sharedWith; } inline bool SharedWithHasBeenSet() const { return m_sharedWithHasBeenSet; } inline void SetSharedWith(const Aws::String& value) { m_sharedWithHasBeenSet = true; m_sharedWith = value; } inline void SetSharedWith(Aws::String&& value) { m_sharedWithHasBeenSet = true; m_sharedWith = std::move(value); } inline void SetSharedWith(const char* value) { m_sharedWithHasBeenSet = true; m_sharedWith.assign(value); } inline CreateProfileShareRequest& WithSharedWith(const Aws::String& value) { SetSharedWith(value); return *this;} inline CreateProfileShareRequest& WithSharedWith(Aws::String&& value) { SetSharedWith(std::move(value)); return *this;} inline CreateProfileShareRequest& WithSharedWith(const char* value) { SetSharedWith(value); return *this;} inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } inline CreateProfileShareRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} inline CreateProfileShareRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} inline CreateProfileShareRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} private: Aws::String m_profileArn; bool m_profileArnHasBeenSet = false; Aws::String m_sharedWith; bool m_sharedWithHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws