AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
DeleteConnectionRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/interconnect/InterconnectRequest.h>
10#include <aws/interconnect/Interconnect_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Interconnect {
16namespace Model {
17
21 public:
22 AWS_INTERCONNECT_API DeleteConnectionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteConnection"; }
29
30 AWS_INTERCONNECT_API Aws::String SerializePayload() const override;
31
32 AWS_INTERCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetIdentifier() const { return m_identifier; }
39 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
40 template <typename IdentifierT = Aws::String>
41 void SetIdentifier(IdentifierT&& value) {
42 m_identifierHasBeenSet = true;
43 m_identifier = std::forward<IdentifierT>(value);
44 }
45 template <typename IdentifierT = Aws::String>
47 SetIdentifier(std::forward<IdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetClientToken() const { return m_clientToken; }
57 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
58 template <typename ClientTokenT = Aws::String>
59 void SetClientToken(ClientTokenT&& value) {
60 m_clientTokenHasBeenSet = true;
61 m_clientToken = std::forward<ClientTokenT>(value);
62 }
63 template <typename ClientTokenT = Aws::String>
65 SetClientToken(std::forward<ClientTokenT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_identifier;
71
73 bool m_identifierHasBeenSet = false;
74 bool m_clientTokenHasBeenSet = true;
75};
76
77} // namespace Model
78} // namespace Interconnect
79} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_INTERCONNECT_API DeleteConnectionRequest()=default
DeleteConnectionRequest & WithClientToken(ClientTokenT &&value)
DeleteConnectionRequest & WithIdentifier(IdentifierT &&value)
AWS_INTERCONNECT_API Aws::String SerializePayload() const override
AWS_INTERCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String