AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
CreateAgentBasicProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace WellArchitected {
24namespace Model {
26 public:
27 AWS_WELLARCHITECTED_API CreateAgentBasicProfileResult() = default;
30
32
35 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
36 template <typename CreatedByT = Aws::String>
37 void SetCreatedBy(CreatedByT&& value) {
38 m_createdByHasBeenSet = true;
39 m_createdBy = std::forward<CreatedByT>(value);
40 }
41 template <typename CreatedByT = Aws::String>
43 SetCreatedBy(std::forward<CreatedByT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
53 template <typename CreatedAtT = Aws::Utils::DateTime>
54 void SetCreatedAt(CreatedAtT&& value) {
55 m_createdAtHasBeenSet = true;
56 m_createdAt = std::forward<CreatedAtT>(value);
57 }
58 template <typename CreatedAtT = Aws::Utils::DateTime>
60 SetCreatedAt(std::forward<CreatedAtT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
70 template <typename LastModifiedByT = Aws::String>
71 void SetLastModifiedBy(LastModifiedByT&& value) {
72 m_lastModifiedByHasBeenSet = true;
73 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
74 }
75 template <typename LastModifiedByT = Aws::String>
77 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
87 template <typename LastModifiedAtT = Aws::Utils::DateTime>
88 void SetLastModifiedAt(LastModifiedAtT&& value) {
89 m_lastModifiedAtHasBeenSet = true;
90 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
91 }
92 template <typename LastModifiedAtT = Aws::Utils::DateTime>
94 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetArn() const { return m_arn; }
104 template <typename ArnT = Aws::String>
105 void SetArn(ArnT&& value) {
106 m_arnHasBeenSet = true;
107 m_arn = std::forward<ArnT>(value);
108 }
109 template <typename ArnT = Aws::String>
111 SetArn(std::forward<ArnT>(value));
112 return *this;
113 }
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template <typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) {
121 m_requestIdHasBeenSet = true;
122 m_requestId = std::forward<RequestIdT>(value);
123 }
124 template <typename RequestIdT = Aws::String>
126 SetRequestId(std::forward<RequestIdT>(value));
127 return *this;
128 }
130 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
131
132 private:
133 Aws::String m_createdBy;
134
135 Aws::Utils::DateTime m_createdAt{};
136
137 Aws::String m_lastModifiedBy;
138
139 Aws::Utils::DateTime m_lastModifiedAt{};
140
141 Aws::String m_arn;
142
143 Aws::String m_requestId;
144 Aws::Http::HttpResponseCode m_HttpResponseCode;
145 bool m_createdByHasBeenSet = false;
146 bool m_createdAtHasBeenSet = false;
147 bool m_lastModifiedByHasBeenSet = false;
148 bool m_lastModifiedAtHasBeenSet = false;
149 bool m_arnHasBeenSet = false;
150 bool m_requestIdHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace WellArchitected
155} // namespace Aws
CreateAgentBasicProfileResult & WithRequestId(RequestIdT &&value)
AWS_WELLARCHITECTED_API CreateAgentBasicProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAgentBasicProfileResult & WithLastModifiedAt(LastModifiedAtT &&value)
CreateAgentBasicProfileResult & WithCreatedBy(CreatedByT &&value)
CreateAgentBasicProfileResult & WithLastModifiedBy(LastModifiedByT &&value)
CreateAgentBasicProfileResult & WithCreatedAt(CreatedAtT &&value)
AWS_WELLARCHITECTED_API CreateAgentBasicProfileResult()=default
AWS_WELLARCHITECTED_API CreateAgentBasicProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue