AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConformancePackStatusDetail.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/config/model/ConformancePackState.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConfigService
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONFIGSERVICE_API ConformancePackStatusDetail();
39 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetConformancePackName() const{ return m_conformancePackName; }
47 inline bool ConformancePackNameHasBeenSet() const { return m_conformancePackNameHasBeenSet; }
48 inline void SetConformancePackName(const Aws::String& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = value; }
49 inline void SetConformancePackName(Aws::String&& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = std::move(value); }
50 inline void SetConformancePackName(const char* value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName.assign(value); }
53 inline ConformancePackStatusDetail& WithConformancePackName(const char* value) { SetConformancePackName(value); return *this;}
55
57
60 inline const Aws::String& GetConformancePackId() const{ return m_conformancePackId; }
61 inline bool ConformancePackIdHasBeenSet() const { return m_conformancePackIdHasBeenSet; }
62 inline void SetConformancePackId(const Aws::String& value) { m_conformancePackIdHasBeenSet = true; m_conformancePackId = value; }
63 inline void SetConformancePackId(Aws::String&& value) { m_conformancePackIdHasBeenSet = true; m_conformancePackId = std::move(value); }
64 inline void SetConformancePackId(const char* value) { m_conformancePackIdHasBeenSet = true; m_conformancePackId.assign(value); }
66 inline ConformancePackStatusDetail& WithConformancePackId(Aws::String&& value) { SetConformancePackId(std::move(value)); return *this;}
67 inline ConformancePackStatusDetail& WithConformancePackId(const char* value) { SetConformancePackId(value); return *this;}
69
71
74 inline const Aws::String& GetConformancePackArn() const{ return m_conformancePackArn; }
75 inline bool ConformancePackArnHasBeenSet() const { return m_conformancePackArnHasBeenSet; }
76 inline void SetConformancePackArn(const Aws::String& value) { m_conformancePackArnHasBeenSet = true; m_conformancePackArn = value; }
77 inline void SetConformancePackArn(Aws::String&& value) { m_conformancePackArnHasBeenSet = true; m_conformancePackArn = std::move(value); }
78 inline void SetConformancePackArn(const char* value) { m_conformancePackArnHasBeenSet = true; m_conformancePackArn.assign(value); }
80 inline ConformancePackStatusDetail& WithConformancePackArn(Aws::String&& value) { SetConformancePackArn(std::move(value)); return *this;}
81 inline ConformancePackStatusDetail& WithConformancePackArn(const char* value) { SetConformancePackArn(value); return *this;}
83
85
95 inline const ConformancePackState& GetConformancePackState() const{ return m_conformancePackState; }
96 inline bool ConformancePackStateHasBeenSet() const { return m_conformancePackStateHasBeenSet; }
97 inline void SetConformancePackState(const ConformancePackState& value) { m_conformancePackStateHasBeenSet = true; m_conformancePackState = value; }
98 inline void SetConformancePackState(ConformancePackState&& value) { m_conformancePackStateHasBeenSet = true; m_conformancePackState = std::move(value); }
102
104
107 inline const Aws::String& GetStackArn() const{ return m_stackArn; }
108 inline bool StackArnHasBeenSet() const { return m_stackArnHasBeenSet; }
109 inline void SetStackArn(const Aws::String& value) { m_stackArnHasBeenSet = true; m_stackArn = value; }
110 inline void SetStackArn(Aws::String&& value) { m_stackArnHasBeenSet = true; m_stackArn = std::move(value); }
111 inline void SetStackArn(const char* value) { m_stackArnHasBeenSet = true; m_stackArn.assign(value); }
112 inline ConformancePackStatusDetail& WithStackArn(const Aws::String& value) { SetStackArn(value); return *this;}
113 inline ConformancePackStatusDetail& WithStackArn(Aws::String&& value) { SetStackArn(std::move(value)); return *this;}
114 inline ConformancePackStatusDetail& WithStackArn(const char* value) { SetStackArn(value); return *this;}
116
118
121 inline const Aws::String& GetConformancePackStatusReason() const{ return m_conformancePackStatusReason; }
122 inline bool ConformancePackStatusReasonHasBeenSet() const { return m_conformancePackStatusReasonHasBeenSet; }
123 inline void SetConformancePackStatusReason(const Aws::String& value) { m_conformancePackStatusReasonHasBeenSet = true; m_conformancePackStatusReason = value; }
124 inline void SetConformancePackStatusReason(Aws::String&& value) { m_conformancePackStatusReasonHasBeenSet = true; m_conformancePackStatusReason = std::move(value); }
125 inline void SetConformancePackStatusReason(const char* value) { m_conformancePackStatusReasonHasBeenSet = true; m_conformancePackStatusReason.assign(value); }
130
132
135 inline const Aws::Utils::DateTime& GetLastUpdateRequestedTime() const{ return m_lastUpdateRequestedTime; }
136 inline bool LastUpdateRequestedTimeHasBeenSet() const { return m_lastUpdateRequestedTimeHasBeenSet; }
137 inline void SetLastUpdateRequestedTime(const Aws::Utils::DateTime& value) { m_lastUpdateRequestedTimeHasBeenSet = true; m_lastUpdateRequestedTime = value; }
138 inline void SetLastUpdateRequestedTime(Aws::Utils::DateTime&& value) { m_lastUpdateRequestedTimeHasBeenSet = true; m_lastUpdateRequestedTime = std::move(value); }
142
144
147 inline const Aws::Utils::DateTime& GetLastUpdateCompletedTime() const{ return m_lastUpdateCompletedTime; }
148 inline bool LastUpdateCompletedTimeHasBeenSet() const { return m_lastUpdateCompletedTimeHasBeenSet; }
149 inline void SetLastUpdateCompletedTime(const Aws::Utils::DateTime& value) { m_lastUpdateCompletedTimeHasBeenSet = true; m_lastUpdateCompletedTime = value; }
150 inline void SetLastUpdateCompletedTime(Aws::Utils::DateTime&& value) { m_lastUpdateCompletedTimeHasBeenSet = true; m_lastUpdateCompletedTime = std::move(value); }
154 private:
155
156 Aws::String m_conformancePackName;
157 bool m_conformancePackNameHasBeenSet = false;
158
159 Aws::String m_conformancePackId;
160 bool m_conformancePackIdHasBeenSet = false;
161
162 Aws::String m_conformancePackArn;
163 bool m_conformancePackArnHasBeenSet = false;
164
165 ConformancePackState m_conformancePackState;
166 bool m_conformancePackStateHasBeenSet = false;
167
168 Aws::String m_stackArn;
169 bool m_stackArnHasBeenSet = false;
170
171 Aws::String m_conformancePackStatusReason;
172 bool m_conformancePackStatusReasonHasBeenSet = false;
173
174 Aws::Utils::DateTime m_lastUpdateRequestedTime;
175 bool m_lastUpdateRequestedTimeHasBeenSet = false;
176
177 Aws::Utils::DateTime m_lastUpdateCompletedTime;
178 bool m_lastUpdateCompletedTimeHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace ConfigService
183} // namespace Aws
AWS_CONFIGSERVICE_API ConformancePackStatusDetail(Aws::Utils::Json::JsonView jsonValue)
ConformancePackStatusDetail & WithLastUpdateRequestedTime(Aws::Utils::DateTime &&value)
ConformancePackStatusDetail & WithConformancePackStatusReason(Aws::String &&value)
ConformancePackStatusDetail & WithConformancePackId(Aws::String &&value)
ConformancePackStatusDetail & WithConformancePackState(ConformancePackState &&value)
ConformancePackStatusDetail & WithConformancePackArn(const Aws::String &value)
ConformancePackStatusDetail & WithConformancePackName(const char *value)
AWS_CONFIGSERVICE_API ConformancePackStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ConformancePackStatusDetail & WithConformancePackName(Aws::String &&value)
ConformancePackStatusDetail & WithLastUpdateRequestedTime(const Aws::Utils::DateTime &value)
ConformancePackStatusDetail & WithStackArn(const char *value)
ConformancePackStatusDetail & WithLastUpdateCompletedTime(Aws::Utils::DateTime &&value)
ConformancePackStatusDetail & WithConformancePackStatusReason(const char *value)
ConformancePackStatusDetail & WithConformancePackName(const Aws::String &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConformancePackStatusDetail & WithConformancePackArn(const char *value)
ConformancePackStatusDetail & WithConformancePackArn(Aws::String &&value)
ConformancePackStatusDetail & WithLastUpdateCompletedTime(const Aws::Utils::DateTime &value)
ConformancePackStatusDetail & WithConformancePackStatusReason(const Aws::String &value)
void SetLastUpdateRequestedTime(const Aws::Utils::DateTime &value)
ConformancePackStatusDetail & WithConformancePackState(const ConformancePackState &value)
ConformancePackStatusDetail & WithConformancePackId(const char *value)
void SetConformancePackState(const ConformancePackState &value)
void SetLastUpdateCompletedTime(const Aws::Utils::DateTime &value)
ConformancePackStatusDetail & WithStackArn(const Aws::String &value)
ConformancePackStatusDetail & WithStackArn(Aws::String &&value)
ConformancePackStatusDetail & WithConformancePackId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue