AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ConformancePackNameT = Aws::String>
49 void SetConformancePackName(ConformancePackNameT&& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = std::forward<ConformancePackNameT>(value); }
50 template<typename ConformancePackNameT = Aws::String>
51 ConformancePackStatusDetail& WithConformancePackName(ConformancePackNameT&& value) { SetConformancePackName(std::forward<ConformancePackNameT>(value)); return *this;}
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) { m_conformancePackIdHasBeenSet = true; m_conformancePackId = std::forward<ConformancePackIdT>(value); }
62 template<typename ConformancePackIdT = Aws::String>
63 ConformancePackStatusDetail& WithConformancePackId(ConformancePackIdT&& value) { SetConformancePackId(std::forward<ConformancePackIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetConformancePackArn() const { return m_conformancePackArn; }
71 inline bool ConformancePackArnHasBeenSet() const { return m_conformancePackArnHasBeenSet; }
72 template<typename ConformancePackArnT = Aws::String>
73 void SetConformancePackArn(ConformancePackArnT&& value) { m_conformancePackArnHasBeenSet = true; m_conformancePackArn = std::forward<ConformancePackArnT>(value); }
74 template<typename ConformancePackArnT = Aws::String>
75 ConformancePackStatusDetail& WithConformancePackArn(ConformancePackArnT&& value) { SetConformancePackArn(std::forward<ConformancePackArnT>(value)); return *this;}
77
79
89 inline ConformancePackState GetConformancePackState() const { return m_conformancePackState; }
90 inline bool ConformancePackStateHasBeenSet() const { return m_conformancePackStateHasBeenSet; }
91 inline void SetConformancePackState(ConformancePackState value) { m_conformancePackStateHasBeenSet = true; m_conformancePackState = value; }
94
96
99 inline const Aws::String& GetStackArn() const { return m_stackArn; }
100 inline bool StackArnHasBeenSet() const { return m_stackArnHasBeenSet; }
101 template<typename StackArnT = Aws::String>
102 void SetStackArn(StackArnT&& value) { m_stackArnHasBeenSet = true; m_stackArn = std::forward<StackArnT>(value); }
103 template<typename StackArnT = Aws::String>
104 ConformancePackStatusDetail& WithStackArn(StackArnT&& value) { SetStackArn(std::forward<StackArnT>(value)); return *this;}
106
108
111 inline const Aws::String& GetConformancePackStatusReason() const { return m_conformancePackStatusReason; }
112 inline bool ConformancePackStatusReasonHasBeenSet() const { return m_conformancePackStatusReasonHasBeenSet; }
113 template<typename ConformancePackStatusReasonT = Aws::String>
114 void SetConformancePackStatusReason(ConformancePackStatusReasonT&& value) { m_conformancePackStatusReasonHasBeenSet = true; m_conformancePackStatusReason = std::forward<ConformancePackStatusReasonT>(value); }
115 template<typename ConformancePackStatusReasonT = Aws::String>
116 ConformancePackStatusDetail& WithConformancePackStatusReason(ConformancePackStatusReasonT&& value) { SetConformancePackStatusReason(std::forward<ConformancePackStatusReasonT>(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetLastUpdateRequestedTime() const { return m_lastUpdateRequestedTime; }
124 inline bool LastUpdateRequestedTimeHasBeenSet() const { return m_lastUpdateRequestedTimeHasBeenSet; }
125 template<typename LastUpdateRequestedTimeT = Aws::Utils::DateTime>
126 void SetLastUpdateRequestedTime(LastUpdateRequestedTimeT&& value) { m_lastUpdateRequestedTimeHasBeenSet = true; m_lastUpdateRequestedTime = std::forward<LastUpdateRequestedTimeT>(value); }
127 template<typename LastUpdateRequestedTimeT = Aws::Utils::DateTime>
128 ConformancePackStatusDetail& WithLastUpdateRequestedTime(LastUpdateRequestedTimeT&& value) { SetLastUpdateRequestedTime(std::forward<LastUpdateRequestedTimeT>(value)); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetLastUpdateCompletedTime() const { return m_lastUpdateCompletedTime; }
136 inline bool LastUpdateCompletedTimeHasBeenSet() const { return m_lastUpdateCompletedTimeHasBeenSet; }
137 template<typename LastUpdateCompletedTimeT = Aws::Utils::DateTime>
138 void SetLastUpdateCompletedTime(LastUpdateCompletedTimeT&& value) { m_lastUpdateCompletedTimeHasBeenSet = true; m_lastUpdateCompletedTime = std::forward<LastUpdateCompletedTimeT>(value); }
139 template<typename LastUpdateCompletedTimeT = Aws::Utils::DateTime>
140 ConformancePackStatusDetail& WithLastUpdateCompletedTime(LastUpdateCompletedTimeT&& value) { SetLastUpdateCompletedTime(std::forward<LastUpdateCompletedTimeT>(value)); return *this;}
142 private:
143
144 Aws::String m_conformancePackName;
145 bool m_conformancePackNameHasBeenSet = false;
146
147 Aws::String m_conformancePackId;
148 bool m_conformancePackIdHasBeenSet = false;
149
150 Aws::String m_conformancePackArn;
151 bool m_conformancePackArnHasBeenSet = false;
152
154 bool m_conformancePackStateHasBeenSet = false;
155
156 Aws::String m_stackArn;
157 bool m_stackArnHasBeenSet = false;
158
159 Aws::String m_conformancePackStatusReason;
160 bool m_conformancePackStatusReasonHasBeenSet = false;
161
162 Aws::Utils::DateTime m_lastUpdateRequestedTime{};
163 bool m_lastUpdateRequestedTimeHasBeenSet = false;
164
165 Aws::Utils::DateTime m_lastUpdateCompletedTime{};
166 bool m_lastUpdateCompletedTimeHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace ConfigService
171} // 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