AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAnswerResult.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/Answer.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace WellArchitected
25{
26namespace Model
27{
34 {
35 public:
36 AWS_WELLARCHITECTED_API GetAnswerResult();
39
40
42
43 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
44 inline void SetWorkloadId(const Aws::String& value) { m_workloadId = value; }
45 inline void SetWorkloadId(Aws::String&& value) { m_workloadId = std::move(value); }
46 inline void SetWorkloadId(const char* value) { m_workloadId.assign(value); }
47 inline GetAnswerResult& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
48 inline GetAnswerResult& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
49 inline GetAnswerResult& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
51
53
54 inline int GetMilestoneNumber() const{ return m_milestoneNumber; }
55 inline void SetMilestoneNumber(int value) { m_milestoneNumber = value; }
56 inline GetAnswerResult& WithMilestoneNumber(int value) { SetMilestoneNumber(value); return *this;}
58
60
61 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
62 inline void SetLensAlias(const Aws::String& value) { m_lensAlias = value; }
63 inline void SetLensAlias(Aws::String&& value) { m_lensAlias = std::move(value); }
64 inline void SetLensAlias(const char* value) { m_lensAlias.assign(value); }
65 inline GetAnswerResult& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
66 inline GetAnswerResult& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
67 inline GetAnswerResult& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
69
71
74 inline const Aws::String& GetLensArn() const{ return m_lensArn; }
75 inline void SetLensArn(const Aws::String& value) { m_lensArn = value; }
76 inline void SetLensArn(Aws::String&& value) { m_lensArn = std::move(value); }
77 inline void SetLensArn(const char* value) { m_lensArn.assign(value); }
78 inline GetAnswerResult& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;}
79 inline GetAnswerResult& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;}
80 inline GetAnswerResult& WithLensArn(const char* value) { SetLensArn(value); return *this;}
82
84
85 inline const Answer& GetAnswer() const{ return m_answer; }
86 inline void SetAnswer(const Answer& value) { m_answer = value; }
87 inline void SetAnswer(Answer&& value) { m_answer = std::move(value); }
88 inline GetAnswerResult& WithAnswer(const Answer& value) { SetAnswer(value); return *this;}
89 inline GetAnswerResult& WithAnswer(Answer&& value) { SetAnswer(std::move(value)); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const{ return m_requestId; }
95 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
96 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
97 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
98 inline GetAnswerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
99 inline GetAnswerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 inline GetAnswerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
102 private:
103
104 Aws::String m_workloadId;
105
106 int m_milestoneNumber;
107
108 Aws::String m_lensAlias;
109
110 Aws::String m_lensArn;
111
112 Answer m_answer;
113
114 Aws::String m_requestId;
115 };
116
117} // namespace Model
118} // namespace WellArchitected
119} // namespace Aws
void SetRequestId(const Aws::String &value)
GetAnswerResult & WithLensAlias(const char *value)
void SetLensArn(const Aws::String &value)
AWS_WELLARCHITECTED_API GetAnswerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAnswerResult & WithLensAlias(Aws::String &&value)
GetAnswerResult & WithLensArn(Aws::String &&value)
GetAnswerResult & WithWorkloadId(const char *value)
GetAnswerResult & WithRequestId(const char *value)
GetAnswerResult & WithLensAlias(const Aws::String &value)
void SetWorkloadId(const Aws::String &value)
GetAnswerResult & WithRequestId(Aws::String &&value)
GetAnswerResult & WithWorkloadId(Aws::String &&value)
AWS_WELLARCHITECTED_API GetAnswerResult()
GetAnswerResult & WithAnswer(const Answer &value)
GetAnswerResult & WithWorkloadId(const Aws::String &value)
GetAnswerResult & WithRequestId(const Aws::String &value)
GetAnswerResult & WithMilestoneNumber(int value)
AWS_WELLARCHITECTED_API GetAnswerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAnswerResult & WithLensArn(const Aws::String &value)
void SetLensAlias(const Aws::String &value)
GetAnswerResult & WithLensArn(const char *value)
GetAnswerResult & WithAnswer(Answer &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue