/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace WellArchitected { namespace Model { /** */ class CreateProfileRequest : public WellArchitectedRequest { public: AWS_WELLARCHITECTED_API CreateProfileRequest(); // 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 "CreateProfile"; } AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override; /** *

Name of the profile.

*/ inline const Aws::String& GetProfileName() const{ return m_profileName; } /** *

Name of the profile.

*/ inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; } /** *

Name of the profile.

*/ inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; } /** *

Name of the profile.

*/ inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); } /** *

Name of the profile.

*/ inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); } /** *

Name of the profile.

*/ inline CreateProfileRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;} /** *

Name of the profile.

*/ inline CreateProfileRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;} /** *

Name of the profile.

*/ inline CreateProfileRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;} /** *

The profile description.

*/ inline const Aws::String& GetProfileDescription() const{ return m_profileDescription; } /** *

The profile description.

*/ inline bool ProfileDescriptionHasBeenSet() const { return m_profileDescriptionHasBeenSet; } /** *

The profile description.

*/ inline void SetProfileDescription(const Aws::String& value) { m_profileDescriptionHasBeenSet = true; m_profileDescription = value; } /** *

The profile description.

*/ inline void SetProfileDescription(Aws::String&& value) { m_profileDescriptionHasBeenSet = true; m_profileDescription = std::move(value); } /** *

The profile description.

*/ inline void SetProfileDescription(const char* value) { m_profileDescriptionHasBeenSet = true; m_profileDescription.assign(value); } /** *

The profile description.

*/ inline CreateProfileRequest& WithProfileDescription(const Aws::String& value) { SetProfileDescription(value); return *this;} /** *

The profile description.

*/ inline CreateProfileRequest& WithProfileDescription(Aws::String&& value) { SetProfileDescription(std::move(value)); return *this;} /** *

The profile description.

*/ inline CreateProfileRequest& WithProfileDescription(const char* value) { SetProfileDescription(value); return *this;} /** *

The profile questions.

*/ inline const Aws::Vector& GetProfileQuestions() const{ return m_profileQuestions; } /** *

The profile questions.

*/ inline bool ProfileQuestionsHasBeenSet() const { return m_profileQuestionsHasBeenSet; } /** *

The profile questions.

*/ inline void SetProfileQuestions(const Aws::Vector& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions = value; } /** *

The profile questions.

*/ inline void SetProfileQuestions(Aws::Vector&& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions = std::move(value); } /** *

The profile questions.

*/ inline CreateProfileRequest& WithProfileQuestions(const Aws::Vector& value) { SetProfileQuestions(value); return *this;} /** *

The profile questions.

*/ inline CreateProfileRequest& WithProfileQuestions(Aws::Vector&& value) { SetProfileQuestions(std::move(value)); return *this;} /** *

The profile questions.

*/ inline CreateProfileRequest& AddProfileQuestions(const ProfileQuestionUpdate& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions.push_back(value); return *this; } /** *

The profile questions.

*/ inline CreateProfileRequest& AddProfileQuestions(ProfileQuestionUpdate&& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions.push_back(std::move(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 CreateProfileRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} inline CreateProfileRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} inline CreateProfileRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

The tags assigned to the profile.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags assigned to the profile.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags assigned to the profile.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags assigned to the profile.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags assigned to the profile.

*/ inline CreateProfileRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags assigned to the profile.

*/ inline CreateProfileRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags assigned to the profile.

*/ inline CreateProfileRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags assigned to the profile.

*/ inline CreateProfileRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags assigned to the profile.

*/ inline CreateProfileRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags assigned to the profile.

*/ inline CreateProfileRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags assigned to the profile.

*/ inline CreateProfileRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags assigned to the profile.

*/ inline CreateProfileRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags assigned to the profile.

*/ inline CreateProfileRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_profileName; bool m_profileNameHasBeenSet = false; Aws::String m_profileDescription; bool m_profileDescriptionHasBeenSet = false; Aws::Vector m_profileQuestions; bool m_profileQuestionsHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws