AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAnswerResult.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 UpdateAnswerResult();
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 UpdateAnswerResult& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
48 inline UpdateAnswerResult& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
49 inline UpdateAnswerResult& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
51
53
54 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
55 inline void SetLensAlias(const Aws::String& value) { m_lensAlias = value; }
56 inline void SetLensAlias(Aws::String&& value) { m_lensAlias = std::move(value); }
57 inline void SetLensAlias(const char* value) { m_lensAlias.assign(value); }
58 inline UpdateAnswerResult& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
59 inline UpdateAnswerResult& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
60 inline UpdateAnswerResult& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
62
64
67 inline const Aws::String& GetLensArn() const{ return m_lensArn; }
68 inline void SetLensArn(const Aws::String& value) { m_lensArn = value; }
69 inline void SetLensArn(Aws::String&& value) { m_lensArn = std::move(value); }
70 inline void SetLensArn(const char* value) { m_lensArn.assign(value); }
71 inline UpdateAnswerResult& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;}
72 inline UpdateAnswerResult& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;}
73 inline UpdateAnswerResult& WithLensArn(const char* value) { SetLensArn(value); return *this;}
75
77
78 inline const Answer& GetAnswer() const{ return m_answer; }
79 inline void SetAnswer(const Answer& value) { m_answer = value; }
80 inline void SetAnswer(Answer&& value) { m_answer = std::move(value); }
81 inline UpdateAnswerResult& WithAnswer(const Answer& value) { SetAnswer(value); return *this;}
82 inline UpdateAnswerResult& WithAnswer(Answer&& value) { SetAnswer(std::move(value)); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline UpdateAnswerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline UpdateAnswerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline UpdateAnswerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_workloadId;
98
99 Aws::String m_lensAlias;
100
101 Aws::String m_lensArn;
102
103 Answer m_answer;
104
105 Aws::String m_requestId;
106 };
107
108} // namespace Model
109} // namespace WellArchitected
110} // namespace Aws
UpdateAnswerResult & WithLensAlias(Aws::String &&value)
UpdateAnswerResult & WithLensArn(const Aws::String &value)
UpdateAnswerResult & WithLensAlias(const Aws::String &value)
UpdateAnswerResult & WithWorkloadId(Aws::String &&value)
UpdateAnswerResult & WithRequestId(const char *value)
UpdateAnswerResult & WithAnswer(const Answer &value)
UpdateAnswerResult & WithAnswer(Answer &&value)
UpdateAnswerResult & WithWorkloadId(const char *value)
AWS_WELLARCHITECTED_API UpdateAnswerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAnswerResult & WithRequestId(Aws::String &&value)
AWS_WELLARCHITECTED_API UpdateAnswerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAnswerResult & WithWorkloadId(const Aws::String &value)
UpdateAnswerResult & WithLensAlias(const char *value)
UpdateAnswerResult & WithLensArn(Aws::String &&value)
UpdateAnswerResult & WithRequestId(const Aws::String &value)
UpdateAnswerResult & WithLensArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue