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

The profile ARN.

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

The profile ARN.

*/ inline UpdateProfileRequest& WithProfileArn(const char* value) { SetProfileArn(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 UpdateProfileRequest& WithProfileDescription(const Aws::String& value) { SetProfileDescription(value); return *this;} /** *

The profile description.

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

The profile description.

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

Profile questions.

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

Profile questions.

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

Profile questions.

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

Profile questions.

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

Profile questions.

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

Profile questions.

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

Profile questions.

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

Profile questions.

*/ inline UpdateProfileRequest& AddProfileQuestions(ProfileQuestionUpdate&& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions.push_back(std::move(value)); return *this; } private: Aws::String m_profileArn; bool m_profileArnHasBeenSet = false; Aws::String m_profileDescription; bool m_profileDescriptionHasBeenSet = false; Aws::Vector m_profileQuestions; bool m_profileQuestionsHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws