AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAnswersResult.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wellarchitected/model/AnswerSummary.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace WellArchitected
26{
27namespace Model
28{
35 {
36 public:
37 AWS_WELLARCHITECTED_API ListAnswersResult();
40
41
43
44 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
45 inline void SetWorkloadId(const Aws::String& value) { m_workloadId = value; }
46 inline void SetWorkloadId(Aws::String&& value) { m_workloadId = std::move(value); }
47 inline void SetWorkloadId(const char* value) { m_workloadId.assign(value); }
48 inline ListAnswersResult& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
49 inline ListAnswersResult& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
50 inline ListAnswersResult& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
52
54
55 inline int GetMilestoneNumber() const{ return m_milestoneNumber; }
56 inline void SetMilestoneNumber(int value) { m_milestoneNumber = value; }
57 inline ListAnswersResult& WithMilestoneNumber(int value) { SetMilestoneNumber(value); return *this;}
59
61
62 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
63 inline void SetLensAlias(const Aws::String& value) { m_lensAlias = value; }
64 inline void SetLensAlias(Aws::String&& value) { m_lensAlias = std::move(value); }
65 inline void SetLensAlias(const char* value) { m_lensAlias.assign(value); }
66 inline ListAnswersResult& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
67 inline ListAnswersResult& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
68 inline ListAnswersResult& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
70
72
75 inline const Aws::String& GetLensArn() const{ return m_lensArn; }
76 inline void SetLensArn(const Aws::String& value) { m_lensArn = value; }
77 inline void SetLensArn(Aws::String&& value) { m_lensArn = std::move(value); }
78 inline void SetLensArn(const char* value) { m_lensArn.assign(value); }
79 inline ListAnswersResult& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;}
80 inline ListAnswersResult& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;}
81 inline ListAnswersResult& WithLensArn(const char* value) { SetLensArn(value); return *this;}
83
85
86 inline const Aws::Vector<AnswerSummary>& GetAnswerSummaries() const{ return m_answerSummaries; }
87 inline void SetAnswerSummaries(const Aws::Vector<AnswerSummary>& value) { m_answerSummaries = value; }
88 inline void SetAnswerSummaries(Aws::Vector<AnswerSummary>&& value) { m_answerSummaries = std::move(value); }
90 inline ListAnswersResult& WithAnswerSummaries(Aws::Vector<AnswerSummary>&& value) { SetAnswerSummaries(std::move(value)); return *this;}
91 inline ListAnswersResult& AddAnswerSummaries(const AnswerSummary& value) { m_answerSummaries.push_back(value); return *this; }
92 inline ListAnswersResult& AddAnswerSummaries(AnswerSummary&& value) { m_answerSummaries.push_back(std::move(value)); return *this; }
94
96
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
99 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
100 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
101 inline ListAnswersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 inline ListAnswersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
103 inline ListAnswersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
105
107
108 inline const Aws::String& GetRequestId() const{ return m_requestId; }
109 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
110 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
111 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
112 inline ListAnswersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
113 inline ListAnswersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
114 inline ListAnswersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
116 private:
117
118 Aws::String m_workloadId;
119
120 int m_milestoneNumber;
121
122 Aws::String m_lensAlias;
123
124 Aws::String m_lensArn;
125
126 Aws::Vector<AnswerSummary> m_answerSummaries;
127
128 Aws::String m_nextToken;
129
130 Aws::String m_requestId;
131 };
132
133} // namespace Model
134} // namespace WellArchitected
135} // namespace Aws
AWS_WELLARCHITECTED_API ListAnswersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAnswersResult & WithLensArn(const Aws::String &value)
ListAnswersResult & WithNextToken(Aws::String &&value)
ListAnswersResult & WithMilestoneNumber(int value)
ListAnswersResult & WithRequestId(Aws::String &&value)
const Aws::Vector< AnswerSummary > & GetAnswerSummaries() const
ListAnswersResult & WithWorkloadId(const char *value)
ListAnswersResult & WithAnswerSummaries(Aws::Vector< AnswerSummary > &&value)
AWS_WELLARCHITECTED_API ListAnswersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAnswerSummaries(const Aws::Vector< AnswerSummary > &value)
ListAnswersResult & WithLensAlias(Aws::String &&value)
ListAnswersResult & WithNextToken(const Aws::String &value)
ListAnswersResult & AddAnswerSummaries(AnswerSummary &&value)
void SetAnswerSummaries(Aws::Vector< AnswerSummary > &&value)
ListAnswersResult & WithRequestId(const Aws::String &value)
ListAnswersResult & WithLensAlias(const char *value)
ListAnswersResult & AddAnswerSummaries(const AnswerSummary &value)
ListAnswersResult & WithRequestId(const char *value)
ListAnswersResult & WithWorkloadId(const Aws::String &value)
ListAnswersResult & WithWorkloadId(Aws::String &&value)
ListAnswersResult & WithLensArn(Aws::String &&value)
ListAnswersResult & WithLensAlias(const Aws::String &value)
ListAnswersResult & WithAnswerSummaries(const Aws::Vector< AnswerSummary > &value)
ListAnswersResult & WithLensArn(const char *value)
ListAnswersResult & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue