AWS SDK for C++

AWS SDK for C++ Version 1.11.848

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
85 inline ConnectorType GetType() const { return m_type; }
86 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
87 inline void SetType(ConnectorType value) {
88 m_typeHasBeenSet = true;
89 m_type = value;
90 }
92 SetType(value);
93 return *this;
94 }
96
98
102 inline const Aws::String& GetApplianceFqdn() const { return m_applianceFqdn; }
103 inline bool ApplianceFqdnHasBeenSet() const { return m_applianceFqdnHasBeenSet; }
104 template <typename ApplianceFqdnT = Aws::String>
105 void SetApplianceFqdn(ApplianceFqdnT&& value) {
106 m_applianceFqdnHasBeenSet = true;
107 m_applianceFqdn = std::forward<ApplianceFqdnT>(value);
108 }
109 template <typename ApplianceFqdnT = Aws::String>
111 SetApplianceFqdn(std::forward<ApplianceFqdnT>(value));
112 return *this;
113 }
115
117
126 inline const Aws::String& GetSecretIdentifier() const { return m_secretIdentifier; }
127 inline bool SecretIdentifierHasBeenSet() const { return m_secretIdentifierHasBeenSet; }
128 template <typename SecretIdentifierT = Aws::String>
129 void SetSecretIdentifier(SecretIdentifierT&& value) {
130 m_secretIdentifierHasBeenSet = true;
131 m_secretIdentifier = std::forward<SecretIdentifierT>(value);
132 }
133 template <typename SecretIdentifierT = Aws::String>
135 SetSecretIdentifier(std::forward<SecretIdentifierT>(value));
136 return *this;
137 }
139 private:
141
142 Aws::String m_environmentId;
143
145
146 Aws::String m_applianceFqdn;
147
148 Aws::String m_secretIdentifier;
149 bool m_clientTokenHasBeenSet = true;
150 bool m_environmentIdHasBeenSet = false;
151 bool m_typeHasBeenSet = false;
152 bool m_applianceFqdnHasBeenSet = false;
153 bool m_secretIdentifierHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace EVS
158} // 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