/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace WellArchitected { namespace Model { /** */ class ListCheckSummariesRequest : public WellArchitectedRequest { public: AWS_WELLARCHITECTED_API ListCheckSummariesRequest(); // 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 "ListCheckSummaries"; } AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override; inline const Aws::String& GetWorkloadId() const{ return m_workloadId; } inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; } inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; } inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); } inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); } inline ListCheckSummariesRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;} inline ListCheckSummariesRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;} inline ListCheckSummariesRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;} inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } inline ListCheckSummariesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} inline ListCheckSummariesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListCheckSummariesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline int GetMaxResults() const{ return m_maxResults; } inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } inline ListCheckSummariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

Well-Architected Lens ARN.

*/ inline const Aws::String& GetLensArn() const{ return m_lensArn; } /** *

Well-Architected Lens ARN.

*/ inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; } /** *

Well-Architected Lens ARN.

*/ inline void SetLensArn(const Aws::String& value) { m_lensArnHasBeenSet = true; m_lensArn = value; } /** *

Well-Architected Lens ARN.

*/ inline void SetLensArn(Aws::String&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::move(value); } /** *

Well-Architected Lens ARN.

*/ inline void SetLensArn(const char* value) { m_lensArnHasBeenSet = true; m_lensArn.assign(value); } /** *

Well-Architected Lens ARN.

*/ inline ListCheckSummariesRequest& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;} /** *

Well-Architected Lens ARN.

*/ inline ListCheckSummariesRequest& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;} /** *

Well-Architected Lens ARN.

*/ inline ListCheckSummariesRequest& WithLensArn(const char* value) { SetLensArn(value); return *this;} inline const Aws::String& GetPillarId() const{ return m_pillarId; } inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; } inline void SetPillarId(const Aws::String& value) { m_pillarIdHasBeenSet = true; m_pillarId = value; } inline void SetPillarId(Aws::String&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::move(value); } inline void SetPillarId(const char* value) { m_pillarIdHasBeenSet = true; m_pillarId.assign(value); } inline ListCheckSummariesRequest& WithPillarId(const Aws::String& value) { SetPillarId(value); return *this;} inline ListCheckSummariesRequest& WithPillarId(Aws::String&& value) { SetPillarId(std::move(value)); return *this;} inline ListCheckSummariesRequest& WithPillarId(const char* value) { SetPillarId(value); return *this;} inline const Aws::String& GetQuestionId() const{ return m_questionId; } inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; } inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; } inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); } inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); } inline ListCheckSummariesRequest& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;} inline ListCheckSummariesRequest& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;} inline ListCheckSummariesRequest& WithQuestionId(const char* value) { SetQuestionId(value); return *this;} inline const Aws::String& GetChoiceId() const{ return m_choiceId; } inline bool ChoiceIdHasBeenSet() const { return m_choiceIdHasBeenSet; } inline void SetChoiceId(const Aws::String& value) { m_choiceIdHasBeenSet = true; m_choiceId = value; } inline void SetChoiceId(Aws::String&& value) { m_choiceIdHasBeenSet = true; m_choiceId = std::move(value); } inline void SetChoiceId(const char* value) { m_choiceIdHasBeenSet = true; m_choiceId.assign(value); } inline ListCheckSummariesRequest& WithChoiceId(const Aws::String& value) { SetChoiceId(value); return *this;} inline ListCheckSummariesRequest& WithChoiceId(Aws::String&& value) { SetChoiceId(std::move(value)); return *this;} inline ListCheckSummariesRequest& WithChoiceId(const char* value) { SetChoiceId(value); return *this;} private: Aws::String m_workloadId; bool m_workloadIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_lensArn; bool m_lensArnHasBeenSet = false; Aws::String m_pillarId; bool m_pillarIdHasBeenSet = false; Aws::String m_questionId; bool m_questionIdHasBeenSet = false; Aws::String m_choiceId; bool m_choiceIdHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws