AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ConformancePackStatusDetail.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ConformancePackState.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConfigService {
22namespace Model {
23
30 public:
31 AWS_CONFIGSERVICE_API ConformancePackStatusDetail() = default;
34 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetConformancePackName() const { return m_conformancePackName; }
41 inline bool ConformancePackNameHasBeenSet() const { return m_conformancePackNameHasBeenSet; }
42 template <typename ConformancePackNameT = Aws::String>
43 void SetConformancePackName(ConformancePackNameT&& value) {
44 m_conformancePackNameHasBeenSet = true;
45 m_conformancePackName = std::forward<ConformancePackNameT>(value);
46 }
47 template <typename ConformancePackNameT = Aws::String>
49 SetConformancePackName(std::forward<ConformancePackNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetConformancePackId() const { return m_conformancePackId; }
59 inline bool ConformancePackIdHasBeenSet() const { return m_conformancePackIdHasBeenSet; }
60 template <typename ConformancePackIdT = Aws::String>
61 void SetConformancePackId(ConformancePackIdT&& value) {
62 m_conformancePackIdHasBeenSet = true;
63 m_conformancePackId = std::forward<ConformancePackIdT>(value);
64 }
65 template <typename ConformancePackIdT = Aws::String>
67 SetConformancePackId(std::forward<ConformancePackIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetConformancePackArn() const { return m_conformancePackArn; }
77 inline bool ConformancePackArnHasBeenSet() const { return m_conformancePackArnHasBeenSet; }
78 template <typename ConformancePackArnT = Aws::String>
79 void SetConformancePackArn(ConformancePackArnT&& value) {
80 m_conformancePackArnHasBeenSet = true;
81 m_conformancePackArn = std::forward<ConformancePackArnT>(value);
82 }
83 template <typename ConformancePackArnT = Aws::String>
85 SetConformancePackArn(std::forward<ConformancePackArnT>(value));
86 return *this;
87 }
89
91
101 inline ConformancePackState GetConformancePackState() const { return m_conformancePackState; }
102 inline bool ConformancePackStateHasBeenSet() const { return m_conformancePackStateHasBeenSet; }
104 m_conformancePackStateHasBeenSet = true;
105 m_conformancePackState = value;
106 }
109 return *this;
110 }
112
114
117 inline const Aws::String& GetStackArn() const { return m_stackArn; }
118 inline bool StackArnHasBeenSet() const { return m_stackArnHasBeenSet; }
119 template <typename StackArnT = Aws::String>
120 void SetStackArn(StackArnT&& value) {
121 m_stackArnHasBeenSet = true;
122 m_stackArn = std::forward<StackArnT>(value);
123 }
124 template <typename StackArnT = Aws::String>
126 SetStackArn(std::forward<StackArnT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetConformancePackStatusReason() const { return m_conformancePackStatusReason; }
136 inline bool ConformancePackStatusReasonHasBeenSet() const { return m_conformancePackStatusReasonHasBeenSet; }
137 template <typename ConformancePackStatusReasonT = Aws::String>
138 void SetConformancePackStatusReason(ConformancePackStatusReasonT&& value) {
139 m_conformancePackStatusReasonHasBeenSet = true;
140 m_conformancePackStatusReason = std::forward<ConformancePackStatusReasonT>(value);
141 }
142 template <typename ConformancePackStatusReasonT = Aws::String>
143 ConformancePackStatusDetail& WithConformancePackStatusReason(ConformancePackStatusReasonT&& value) {
144 SetConformancePackStatusReason(std::forward<ConformancePackStatusReasonT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::Utils::DateTime& GetLastUpdateRequestedTime() const { return m_lastUpdateRequestedTime; }
154 inline bool LastUpdateRequestedTimeHasBeenSet() const { return m_lastUpdateRequestedTimeHasBeenSet; }
155 template <typename LastUpdateRequestedTimeT = Aws::Utils::DateTime>
156 void SetLastUpdateRequestedTime(LastUpdateRequestedTimeT&& value) {
157 m_lastUpdateRequestedTimeHasBeenSet = true;
158 m_lastUpdateRequestedTime = std::forward<LastUpdateRequestedTimeT>(value);
159 }
160 template <typename LastUpdateRequestedTimeT = Aws::Utils::DateTime>
161 ConformancePackStatusDetail& WithLastUpdateRequestedTime(LastUpdateRequestedTimeT&& value) {
162 SetLastUpdateRequestedTime(std::forward<LastUpdateRequestedTimeT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::Utils::DateTime& GetLastUpdateCompletedTime() const { return m_lastUpdateCompletedTime; }
172 inline bool LastUpdateCompletedTimeHasBeenSet() const { return m_lastUpdateCompletedTimeHasBeenSet; }
173 template <typename LastUpdateCompletedTimeT = Aws::Utils::DateTime>
174 void SetLastUpdateCompletedTime(LastUpdateCompletedTimeT&& value) {
175 m_lastUpdateCompletedTimeHasBeenSet = true;
176 m_lastUpdateCompletedTime = std::forward<LastUpdateCompletedTimeT>(value);
177 }
178 template <typename LastUpdateCompletedTimeT = Aws::Utils::DateTime>
179 ConformancePackStatusDetail& WithLastUpdateCompletedTime(LastUpdateCompletedTimeT&& value) {
180 SetLastUpdateCompletedTime(std::forward<LastUpdateCompletedTimeT>(value));
181 return *this;
182 }
184 private:
185 Aws::String m_conformancePackName;
186
187 Aws::String m_conformancePackId;
188
189 Aws::String m_conformancePackArn;
190
192
193 Aws::String m_stackArn;
194
195 Aws::String m_conformancePackStatusReason;
196
197 Aws::Utils::DateTime m_lastUpdateRequestedTime{};
198
199 Aws::Utils::DateTime m_lastUpdateCompletedTime{};
200 bool m_conformancePackNameHasBeenSet = false;
201 bool m_conformancePackIdHasBeenSet = false;
202 bool m_conformancePackArnHasBeenSet = false;
203 bool m_conformancePackStateHasBeenSet = false;
204 bool m_stackArnHasBeenSet = false;
205 bool m_conformancePackStatusReasonHasBeenSet = false;
206 bool m_lastUpdateRequestedTimeHasBeenSet = false;
207 bool m_lastUpdateCompletedTimeHasBeenSet = false;
208};
209
210} // namespace Model
211} // namespace ConfigService
212} // namespace Aws
AWS_CONFIGSERVICE_API ConformancePackStatusDetail(Aws::Utils::Json::JsonView jsonValue)
ConformancePackStatusDetail & WithConformancePackArn(ConformancePackArnT &&value)
ConformancePackStatusDetail & WithLastUpdateCompletedTime(LastUpdateCompletedTimeT &&value)
ConformancePackStatusDetail & WithLastUpdateRequestedTime(LastUpdateRequestedTimeT &&value)
void SetConformancePackStatusReason(ConformancePackStatusReasonT &&value)
ConformancePackStatusDetail & WithConformancePackStatusReason(ConformancePackStatusReasonT &&value)
AWS_CONFIGSERVICE_API ConformancePackStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ConformancePackStatusDetail & WithConformancePackName(ConformancePackNameT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConformancePackStatusDetail & WithConformancePackState(ConformancePackState value)
AWS_CONFIGSERVICE_API ConformancePackStatusDetail()=default
ConformancePackStatusDetail & WithConformancePackId(ConformancePackIdT &&value)
ConformancePackStatusDetail & WithStackArn(StackArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue