AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MacSecKey.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DirectConnect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DIRECTCONNECT_API MacSecKey();
36 AWS_DIRECTCONNECT_API MacSecKey(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DIRECTCONNECT_API MacSecKey& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSecretARN() const{ return m_secretARN; }
46 inline bool SecretARNHasBeenSet() const { return m_secretARNHasBeenSet; }
47 inline void SetSecretARN(const Aws::String& value) { m_secretARNHasBeenSet = true; m_secretARN = value; }
48 inline void SetSecretARN(Aws::String&& value) { m_secretARNHasBeenSet = true; m_secretARN = std::move(value); }
49 inline void SetSecretARN(const char* value) { m_secretARNHasBeenSet = true; m_secretARN.assign(value); }
50 inline MacSecKey& WithSecretARN(const Aws::String& value) { SetSecretARN(value); return *this;}
51 inline MacSecKey& WithSecretARN(Aws::String&& value) { SetSecretARN(std::move(value)); return *this;}
52 inline MacSecKey& WithSecretARN(const char* value) { SetSecretARN(value); return *this;}
54
56
59 inline const Aws::String& GetCkn() const{ return m_ckn; }
60 inline bool CknHasBeenSet() const { return m_cknHasBeenSet; }
61 inline void SetCkn(const Aws::String& value) { m_cknHasBeenSet = true; m_ckn = value; }
62 inline void SetCkn(Aws::String&& value) { m_cknHasBeenSet = true; m_ckn = std::move(value); }
63 inline void SetCkn(const char* value) { m_cknHasBeenSet = true; m_ckn.assign(value); }
64 inline MacSecKey& WithCkn(const Aws::String& value) { SetCkn(value); return *this;}
65 inline MacSecKey& WithCkn(Aws::String&& value) { SetCkn(std::move(value)); return *this;}
66 inline MacSecKey& WithCkn(const char* value) { SetCkn(value); return *this;}
68
70
81 inline const Aws::String& GetState() const{ return m_state; }
82 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
83 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
84 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
85 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
86 inline MacSecKey& WithState(const Aws::String& value) { SetState(value); return *this;}
87 inline MacSecKey& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
88 inline MacSecKey& WithState(const char* value) { SetState(value); return *this;}
90
92
96 inline const Aws::String& GetStartOn() const{ return m_startOn; }
97 inline bool StartOnHasBeenSet() const { return m_startOnHasBeenSet; }
98 inline void SetStartOn(const Aws::String& value) { m_startOnHasBeenSet = true; m_startOn = value; }
99 inline void SetStartOn(Aws::String&& value) { m_startOnHasBeenSet = true; m_startOn = std::move(value); }
100 inline void SetStartOn(const char* value) { m_startOnHasBeenSet = true; m_startOn.assign(value); }
101 inline MacSecKey& WithStartOn(const Aws::String& value) { SetStartOn(value); return *this;}
102 inline MacSecKey& WithStartOn(Aws::String&& value) { SetStartOn(std::move(value)); return *this;}
103 inline MacSecKey& WithStartOn(const char* value) { SetStartOn(value); return *this;}
105 private:
106
107 Aws::String m_secretARN;
108 bool m_secretARNHasBeenSet = false;
109
110 Aws::String m_ckn;
111 bool m_cknHasBeenSet = false;
112
113 Aws::String m_state;
114 bool m_stateHasBeenSet = false;
115
116 Aws::String m_startOn;
117 bool m_startOnHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace DirectConnect
122} // namespace Aws
void SetStartOn(const Aws::String &value)
Definition MacSecKey.h:98
void SetStartOn(const char *value)
Definition MacSecKey.h:100
MacSecKey & WithSecretARN(Aws::String &&value)
Definition MacSecKey.h:51
const Aws::String & GetCkn() const
Definition MacSecKey.h:59
MacSecKey & WithStartOn(const char *value)
Definition MacSecKey.h:103
void SetCkn(const Aws::String &value)
Definition MacSecKey.h:61
MacSecKey & WithStartOn(const Aws::String &value)
Definition MacSecKey.h:101
const Aws::String & GetStartOn() const
Definition MacSecKey.h:96
MacSecKey & WithSecretARN(const char *value)
Definition MacSecKey.h:52
void SetSecretARN(const Aws::String &value)
Definition MacSecKey.h:47
MacSecKey & WithState(const Aws::String &value)
Definition MacSecKey.h:86
const Aws::String & GetSecretARN() const
Definition MacSecKey.h:45
AWS_DIRECTCONNECT_API MacSecKey & operator=(Aws::Utils::Json::JsonView jsonValue)
MacSecKey & WithState(Aws::String &&value)
Definition MacSecKey.h:87
void SetSecretARN(Aws::String &&value)
Definition MacSecKey.h:48
MacSecKey & WithCkn(const Aws::String &value)
Definition MacSecKey.h:64
AWS_DIRECTCONNECT_API MacSecKey()
void SetStartOn(Aws::String &&value)
Definition MacSecKey.h:99
void SetState(const char *value)
Definition MacSecKey.h:85
MacSecKey & WithCkn(const char *value)
Definition MacSecKey.h:66
void SetState(const Aws::String &value)
Definition MacSecKey.h:83
MacSecKey & WithStartOn(Aws::String &&value)
Definition MacSecKey.h:102
void SetCkn(const char *value)
Definition MacSecKey.h:63
MacSecKey & WithCkn(Aws::String &&value)
Definition MacSecKey.h:65
MacSecKey & WithState(const char *value)
Definition MacSecKey.h:88
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetState() const
Definition MacSecKey.h:81
void SetSecretARN(const char *value)
Definition MacSecKey.h:49
MacSecKey & WithSecretARN(const Aws::String &value)
Definition MacSecKey.h:50
void SetCkn(Aws::String &&value)
Definition MacSecKey.h:62
void SetState(Aws::String &&value)
Definition MacSecKey.h:84
AWS_DIRECTCONNECT_API MacSecKey(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue