AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
SupportPermitSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/supportauthz/SupportAuthZ_EXPORTS.h>
10#include <aws/supportauthz/model/Permit.h>
11#include <aws/supportauthz/model/SigningKeyInfo.h>
12#include <aws/supportauthz/model/SupportPermitStatus.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SupportAuthZ {
24namespace Model {
25
32 public:
33 AWS_SUPPORTAUTHZ_API SupportPermitSummary() = default;
34 AWS_SUPPORTAUTHZ_API SupportPermitSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SUPPORTAUTHZ_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetArn() const { return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 template <typename ArnT = Aws::String>
63 void SetArn(ArnT&& value) {
64 m_arnHasBeenSet = true;
65 m_arn = std::forward<ArnT>(value);
66 }
67 template <typename ArnT = Aws::String>
69 SetArn(std::forward<ArnT>(value));
70 return *this;
71 }
73
75
78 inline const Permit& GetPermit() const { return m_permit; }
79 inline bool PermitHasBeenSet() const { return m_permitHasBeenSet; }
80 template <typename PermitT = Permit>
81 void SetPermit(PermitT&& value) {
82 m_permitHasBeenSet = true;
83 m_permit = std::forward<PermitT>(value);
84 }
85 template <typename PermitT = Permit>
86 SupportPermitSummary& WithPermit(PermitT&& value) {
87 SetPermit(std::forward<PermitT>(value));
88 return *this;
89 }
91
93
96 inline SupportPermitStatus GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 inline void SetStatus(SupportPermitStatus value) {
99 m_statusHasBeenSet = true;
100 m_status = value;
101 }
103 SetStatus(value);
104 return *this;
105 }
107
109
112 inline const SigningKeyInfo& GetSigningKeyInfo() const { return m_signingKeyInfo; }
113 inline bool SigningKeyInfoHasBeenSet() const { return m_signingKeyInfoHasBeenSet; }
114 template <typename SigningKeyInfoT = SigningKeyInfo>
115 void SetSigningKeyInfo(SigningKeyInfoT&& value) {
116 m_signingKeyInfoHasBeenSet = true;
117 m_signingKeyInfo = std::forward<SigningKeyInfoT>(value);
118 }
119 template <typename SigningKeyInfoT = SigningKeyInfo>
120 SupportPermitSummary& WithSigningKeyInfo(SigningKeyInfoT&& value) {
121 SetSigningKeyInfo(std::forward<SigningKeyInfoT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
131 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
132 template <typename CreatedAtT = Aws::Utils::DateTime>
133 void SetCreatedAt(CreatedAtT&& value) {
134 m_createdAtHasBeenSet = true;
135 m_createdAt = std::forward<CreatedAtT>(value);
136 }
137 template <typename CreatedAtT = Aws::Utils::DateTime>
138 SupportPermitSummary& WithCreatedAt(CreatedAtT&& value) {
139 SetCreatedAt(std::forward<CreatedAtT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetSupportCaseDisplayId() const { return m_supportCaseDisplayId; }
149 inline bool SupportCaseDisplayIdHasBeenSet() const { return m_supportCaseDisplayIdHasBeenSet; }
150 template <typename SupportCaseDisplayIdT = Aws::String>
151 void SetSupportCaseDisplayId(SupportCaseDisplayIdT&& value) {
152 m_supportCaseDisplayIdHasBeenSet = true;
153 m_supportCaseDisplayId = std::forward<SupportCaseDisplayIdT>(value);
154 }
155 template <typename SupportCaseDisplayIdT = Aws::String>
156 SupportPermitSummary& WithSupportCaseDisplayId(SupportCaseDisplayIdT&& value) {
157 SetSupportCaseDisplayId(std::forward<SupportCaseDisplayIdT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_name;
163
164 Aws::String m_arn;
165
166 Permit m_permit;
167
169
170 SigningKeyInfo m_signingKeyInfo;
171
172 Aws::Utils::DateTime m_createdAt{};
173
174 Aws::String m_supportCaseDisplayId;
175 bool m_nameHasBeenSet = false;
176 bool m_arnHasBeenSet = false;
177 bool m_permitHasBeenSet = false;
178 bool m_statusHasBeenSet = false;
179 bool m_signingKeyInfoHasBeenSet = false;
180 bool m_createdAtHasBeenSet = false;
181 bool m_supportCaseDisplayIdHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace SupportAuthZ
186} // namespace Aws
SupportPermitSummary & WithSigningKeyInfo(SigningKeyInfoT &&value)
void SetSupportCaseDisplayId(SupportCaseDisplayIdT &&value)
SupportPermitSummary & WithArn(ArnT &&value)
AWS_SUPPORTAUTHZ_API SupportPermitSummary()=default
SupportPermitSummary & WithPermit(PermitT &&value)
AWS_SUPPORTAUTHZ_API SupportPermitSummary(Aws::Utils::Json::JsonView jsonValue)
SupportPermitSummary & WithStatus(SupportPermitStatus value)
AWS_SUPPORTAUTHZ_API SupportPermitSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPORTAUTHZ_API Aws::Utils::Json::JsonValue Jsonize() const
SupportPermitSummary & WithCreatedAt(CreatedAtT &&value)
SupportPermitSummary & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
SupportPermitSummary & WithSupportCaseDisplayId(SupportCaseDisplayIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue