AWS SDK for C++

AWS SDK for C++ Version 1.11.796

Loading...
Searching...
No Matches
CreateEnvironmentConnectorRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/evs/EVSRequest.h>
10#include <aws/evs/EVS_EXPORTS.h>
11#include <aws/evs/model/ConnectorType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace EVS {
17namespace Model {
18
22 public:
23 AWS_EVS_API CreateEnvironmentConnectorRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateEnvironmentConnector"; }
30
31 AWS_EVS_API Aws::String SerializePayload() const override;
32
34
36
43 inline const Aws::String& GetClientToken() const { return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 template <typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) {
47 m_clientTokenHasBeenSet = true;
48 m_clientToken = std::forward<ClientTokenT>(value);
49 }
50 template <typename ClientTokenT = Aws::String>
52 SetClientToken(std::forward<ClientTokenT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
62 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
63 template <typename EnvironmentIdT = Aws::String>
64 void SetEnvironmentId(EnvironmentIdT&& value) {
65 m_environmentIdHasBeenSet = true;
66 m_environmentId = std::forward<EnvironmentIdT>(value);
67 }
68 template <typename EnvironmentIdT = Aws::String>
70 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
71 return *this;
72 }
74
76
79 inline ConnectorType GetType() const { return m_type; }
80 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
81 inline void SetType(ConnectorType value) {
82 m_typeHasBeenSet = true;
83 m_type = value;
84 }
86 SetType(value);
87 return *this;
88 }
90
92
96 inline const Aws::String& GetApplianceFqdn() const { return m_applianceFqdn; }
97 inline bool ApplianceFqdnHasBeenSet() const { return m_applianceFqdnHasBeenSet; }
98 template <typename ApplianceFqdnT = Aws::String>
99 void SetApplianceFqdn(ApplianceFqdnT&& value) {
100 m_applianceFqdnHasBeenSet = true;
101 m_applianceFqdn = std::forward<ApplianceFqdnT>(value);
102 }
103 template <typename ApplianceFqdnT = Aws::String>
105 SetApplianceFqdn(std::forward<ApplianceFqdnT>(value));
106 return *this;
107 }
109
111
117 inline const Aws::String& GetSecretIdentifier() const { return m_secretIdentifier; }
118 inline bool SecretIdentifierHasBeenSet() const { return m_secretIdentifierHasBeenSet; }
119 template <typename SecretIdentifierT = Aws::String>
120 void SetSecretIdentifier(SecretIdentifierT&& value) {
121 m_secretIdentifierHasBeenSet = true;
122 m_secretIdentifier = std::forward<SecretIdentifierT>(value);
123 }
124 template <typename SecretIdentifierT = Aws::String>
126 SetSecretIdentifier(std::forward<SecretIdentifierT>(value));
127 return *this;
128 }
130 private:
132
133 Aws::String m_environmentId;
134
136
137 Aws::String m_applianceFqdn;
138
139 Aws::String m_secretIdentifier;
140 bool m_clientTokenHasBeenSet = true;
141 bool m_environmentIdHasBeenSet = false;
142 bool m_typeHasBeenSet = false;
143 bool m_applianceFqdnHasBeenSet = false;
144 bool m_secretIdentifierHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace EVS
149} // namespace Aws
AWS_EVS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEnvironmentConnectorRequest & WithSecretIdentifier(SecretIdentifierT &&value)
CreateEnvironmentConnectorRequest & WithClientToken(ClientTokenT &&value)
AWS_EVS_API Aws::String SerializePayload() const override
CreateEnvironmentConnectorRequest & WithType(ConnectorType value)
CreateEnvironmentConnectorRequest & WithApplianceFqdn(ApplianceFqdnT &&value)
CreateEnvironmentConnectorRequest & WithEnvironmentId(EnvironmentIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String