AWS SDK for C++  1.9.132
AWS SDK for C++
MacSecKey.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace DirectConnect
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetSecretARN() const{ return m_secretARN; }
45 
49  inline bool SecretARNHasBeenSet() const { return m_secretARNHasBeenSet; }
50 
54  inline void SetSecretARN(const Aws::String& value) { m_secretARNHasBeenSet = true; m_secretARN = value; }
55 
59  inline void SetSecretARN(Aws::String&& value) { m_secretARNHasBeenSet = true; m_secretARN = std::move(value); }
60 
64  inline void SetSecretARN(const char* value) { m_secretARNHasBeenSet = true; m_secretARN.assign(value); }
65 
69  inline MacSecKey& WithSecretARN(const Aws::String& value) { SetSecretARN(value); return *this;}
70 
74  inline MacSecKey& WithSecretARN(Aws::String&& value) { SetSecretARN(std::move(value)); return *this;}
75 
79  inline MacSecKey& WithSecretARN(const char* value) { SetSecretARN(value); return *this;}
80 
81 
85  inline const Aws::String& GetCkn() const{ return m_ckn; }
86 
90  inline bool CknHasBeenSet() const { return m_cknHasBeenSet; }
91 
95  inline void SetCkn(const Aws::String& value) { m_cknHasBeenSet = true; m_ckn = value; }
96 
100  inline void SetCkn(Aws::String&& value) { m_cknHasBeenSet = true; m_ckn = std::move(value); }
101 
105  inline void SetCkn(const char* value) { m_cknHasBeenSet = true; m_ckn.assign(value); }
106 
110  inline MacSecKey& WithCkn(const Aws::String& value) { SetCkn(value); return *this;}
111 
115  inline MacSecKey& WithCkn(Aws::String&& value) { SetCkn(std::move(value)); return *this;}
116 
120  inline MacSecKey& WithCkn(const char* value) { SetCkn(value); return *this;}
121 
122 
134  inline const Aws::String& GetState() const{ return m_state; }
135 
147  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
148 
160  inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
161 
173  inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
174 
186  inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
187 
199  inline MacSecKey& WithState(const Aws::String& value) { SetState(value); return *this;}
200 
212  inline MacSecKey& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
213 
225  inline MacSecKey& WithState(const char* value) { SetState(value); return *this;}
226 
227 
232  inline const Aws::String& GetStartOn() const{ return m_startOn; }
233 
238  inline bool StartOnHasBeenSet() const { return m_startOnHasBeenSet; }
239 
244  inline void SetStartOn(const Aws::String& value) { m_startOnHasBeenSet = true; m_startOn = value; }
245 
250  inline void SetStartOn(Aws::String&& value) { m_startOnHasBeenSet = true; m_startOn = std::move(value); }
251 
256  inline void SetStartOn(const char* value) { m_startOnHasBeenSet = true; m_startOn.assign(value); }
257 
262  inline MacSecKey& WithStartOn(const Aws::String& value) { SetStartOn(value); return *this;}
263 
268  inline MacSecKey& WithStartOn(Aws::String&& value) { SetStartOn(std::move(value)); return *this;}
269 
274  inline MacSecKey& WithStartOn(const char* value) { SetStartOn(value); return *this;}
275 
276  private:
277 
278  Aws::String m_secretARN;
279  bool m_secretARNHasBeenSet;
280 
281  Aws::String m_ckn;
282  bool m_cknHasBeenSet;
283 
284  Aws::String m_state;
285  bool m_stateHasBeenSet;
286 
287  Aws::String m_startOn;
288  bool m_startOnHasBeenSet;
289  };
290 
291 } // namespace Model
292 } // namespace DirectConnect
293 } // namespace Aws
Aws::DirectConnect::Model::MacSecKey::SetCkn
void SetCkn(const char *value)
Definition: MacSecKey.h:105
Aws::DirectConnect::Model::MacSecKey::WithSecretARN
MacSecKey & WithSecretARN(const Aws::String &value)
Definition: MacSecKey.h:69
Aws::DirectConnect::Model::MacSecKey::WithCkn
MacSecKey & WithCkn(const Aws::String &value)
Definition: MacSecKey.h:110
Aws::DirectConnect::Model::MacSecKey
Definition: MacSecKey.h:33
Aws::DirectConnect::Model::MacSecKey::SetCkn
void SetCkn(Aws::String &&value)
Definition: MacSecKey.h:100
Aws::DirectConnect::Model::MacSecKey::SetState
void SetState(Aws::String &&value)
Definition: MacSecKey.h:173
Aws::DirectConnect::Model::MacSecKey::GetSecretARN
const Aws::String & GetSecretARN() const
Definition: MacSecKey.h:44
Aws::DirectConnect::Model::MacSecKey::SetStartOn
void SetStartOn(const char *value)
Definition: MacSecKey.h:256
Aws::DirectConnect::Model::MacSecKey::StateHasBeenSet
bool StateHasBeenSet() const
Definition: MacSecKey.h:147
Aws::DirectConnect::Model::MacSecKey::MacSecKey
MacSecKey(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectConnect::Model::MacSecKey::WithCkn
MacSecKey & WithCkn(Aws::String &&value)
Definition: MacSecKey.h:115
Aws::DirectConnect::Model::MacSecKey::SecretARNHasBeenSet
bool SecretARNHasBeenSet() const
Definition: MacSecKey.h:49
DirectConnect_EXPORTS.h
Aws::DirectConnect::Model::MacSecKey::StartOnHasBeenSet
bool StartOnHasBeenSet() const
Definition: MacSecKey.h:238
Aws::DirectConnect::Model::MacSecKey::SetSecretARN
void SetSecretARN(const char *value)
Definition: MacSecKey.h:64
Aws::DirectConnect::Model::MacSecKey::SetSecretARN
void SetSecretARN(const Aws::String &value)
Definition: MacSecKey.h:54
Aws::DirectConnect::Model::MacSecKey::SetCkn
void SetCkn(const Aws::String &value)
Definition: MacSecKey.h:95
Aws::DirectConnect::Model::MacSecKey::SetState
void SetState(const Aws::String &value)
Definition: MacSecKey.h:160
Aws::DirectConnect::Model::MacSecKey::WithSecretARN
MacSecKey & WithSecretARN(const char *value)
Definition: MacSecKey.h:79
Aws::DirectConnect::Model::MacSecKey::WithState
MacSecKey & WithState(const Aws::String &value)
Definition: MacSecKey.h:199
Aws::DirectConnect::Model::MacSecKey::GetStartOn
const Aws::String & GetStartOn() const
Definition: MacSecKey.h:232
Aws::DirectConnect::Model::MacSecKey::CknHasBeenSet
bool CknHasBeenSet() const
Definition: MacSecKey.h:90
Aws::DirectConnect::Model::MacSecKey::SetSecretARN
void SetSecretARN(Aws::String &&value)
Definition: MacSecKey.h:59
Aws::DirectConnect::Model::MacSecKey::WithStartOn
MacSecKey & WithStartOn(const Aws::String &value)
Definition: MacSecKey.h:262
Aws::DirectConnect::Model::MacSecKey::SetState
void SetState(const char *value)
Definition: MacSecKey.h:186
Aws::DirectConnect::Model::MacSecKey::MacSecKey
MacSecKey()
Aws::DirectConnect::Model::MacSecKey::SetStartOn
void SetStartOn(const Aws::String &value)
Definition: MacSecKey.h:244
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::DirectConnect::Model::MacSecKey::SetStartOn
void SetStartOn(Aws::String &&value)
Definition: MacSecKey.h:250
Aws::DirectConnect::Model::MacSecKey::WithSecretARN
MacSecKey & WithSecretARN(Aws::String &&value)
Definition: MacSecKey.h:74
Aws::DirectConnect::Model::MacSecKey::WithState
MacSecKey & WithState(Aws::String &&value)
Definition: MacSecKey.h:212
Aws::DirectConnect::Model::MacSecKey::WithStartOn
MacSecKey & WithStartOn(Aws::String &&value)
Definition: MacSecKey.h:268
Aws::DirectConnect::Model::MacSecKey::operator=
MacSecKey & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectConnect::Model::MacSecKey::GetCkn
const Aws::String & GetCkn() const
Definition: MacSecKey.h:85
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectConnect::Model::MacSecKey::WithState
MacSecKey & WithState(const char *value)
Definition: MacSecKey.h:225
Aws::DirectConnect::Model::MacSecKey::WithCkn
MacSecKey & WithCkn(const char *value)
Definition: MacSecKey.h:120
Aws::DirectConnect::Model::MacSecKey::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DirectConnect::Model::MacSecKey::WithStartOn
MacSecKey & WithStartOn(const char *value)
Definition: MacSecKey.h:274
AWS_DIRECTCONNECT_API
#define AWS_DIRECTCONNECT_API
Definition: DirectConnect_EXPORTS.h:28
Aws::DirectConnect::Model::MacSecKey::GetState
const Aws::String & GetState() const
Definition: MacSecKey.h:134