AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AssociateMacSecKeyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/directconnect/DirectConnectRequest.h>
9#include <aws/directconnect/DirectConnect_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DirectConnect {
15namespace Model {
16
20 public:
21 AWS_DIRECTCONNECT_API AssociateMacSecKeyRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "AssociateMacSecKey"; }
28
29 AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override;
30
31 AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
40 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
41 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
42 template <typename ConnectionIdT = Aws::String>
43 void SetConnectionId(ConnectionIdT&& value) {
44 m_connectionIdHasBeenSet = true;
45 m_connectionId = std::forward<ConnectionIdT>(value);
46 }
47 template <typename ConnectionIdT = Aws::String>
49 SetConnectionId(std::forward<ConnectionIdT>(value));
50 return *this;
51 }
53
55
62 inline const Aws::String& GetSecretARN() const { return m_secretARN; }
63 inline bool SecretARNHasBeenSet() const { return m_secretARNHasBeenSet; }
64 template <typename SecretARNT = Aws::String>
65 void SetSecretARN(SecretARNT&& value) {
66 m_secretARNHasBeenSet = true;
67 m_secretARN = std::forward<SecretARNT>(value);
68 }
69 template <typename SecretARNT = Aws::String>
71 SetSecretARN(std::forward<SecretARNT>(value));
72 return *this;
73 }
75
77
84 inline const Aws::String& GetCkn() const { return m_ckn; }
85 inline bool CknHasBeenSet() const { return m_cknHasBeenSet; }
86 template <typename CknT = Aws::String>
87 void SetCkn(CknT&& value) {
88 m_cknHasBeenSet = true;
89 m_ckn = std::forward<CknT>(value);
90 }
91 template <typename CknT = Aws::String>
93 SetCkn(std::forward<CknT>(value));
94 return *this;
95 }
97
99
106 inline const Aws::String& GetCak() const { return m_cak; }
107 inline bool CakHasBeenSet() const { return m_cakHasBeenSet; }
108 template <typename CakT = Aws::String>
109 void SetCak(CakT&& value) {
110 m_cakHasBeenSet = true;
111 m_cak = std::forward<CakT>(value);
112 }
113 template <typename CakT = Aws::String>
115 SetCak(std::forward<CakT>(value));
116 return *this;
117 }
119 private:
120 Aws::String m_connectionId;
121
122 Aws::String m_secretARN;
123
124 Aws::String m_ckn;
125
126 Aws::String m_cak;
127 bool m_connectionIdHasBeenSet = false;
128 bool m_secretARNHasBeenSet = false;
129 bool m_cknHasBeenSet = false;
130 bool m_cakHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace DirectConnect
135} // namespace Aws
AssociateMacSecKeyRequest & WithConnectionId(ConnectionIdT &&value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateMacSecKeyRequest & WithSecretARN(SecretARNT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
AWS_DIRECTCONNECT_API AssociateMacSecKeyRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String