AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
DisassociateMacSecKeyRequest.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 DisassociateMacSecKeyRequest() = 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 "DisassociateMacSecKey"; }
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
60 inline const Aws::String& GetSecretARN() const { return m_secretARN; }
61 inline bool SecretARNHasBeenSet() const { return m_secretARNHasBeenSet; }
62 template <typename SecretARNT = Aws::String>
63 void SetSecretARN(SecretARNT&& value) {
64 m_secretARNHasBeenSet = true;
65 m_secretARN = std::forward<SecretARNT>(value);
66 }
67 template <typename SecretARNT = Aws::String>
69 SetSecretARN(std::forward<SecretARNT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_connectionId;
75
76 Aws::String m_secretARN;
77 bool m_connectionIdHasBeenSet = false;
78 bool m_secretARNHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace DirectConnect
83} // namespace Aws
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
DisassociateMacSecKeyRequest & WithConnectionId(ConnectionIdT &&value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisassociateMacSecKeyRequest & WithSecretARN(SecretARNT &&value)
AWS_DIRECTCONNECT_API DisassociateMacSecKeyRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String