AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateEnvironmentHostRequest.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/HostInfoForCreate.h>
12
13#include <utility>
14
15namespace Aws {
16namespace EVS {
17namespace Model {
18
22 public:
23 AWS_EVS_API CreateEnvironmentHostRequest() = 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 "CreateEnvironmentHost"; }
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 const HostInfoForCreate& GetHost() const { return m_host; }
80 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
81 template <typename HostT = HostInfoForCreate>
82 void SetHost(HostT&& value) {
83 m_hostHasBeenSet = true;
84 m_host = std::forward<HostT>(value);
85 }
86 template <typename HostT = HostInfoForCreate>
88 SetHost(std::forward<HostT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetEsxVersion() const { return m_esxVersion; }
98 inline bool EsxVersionHasBeenSet() const { return m_esxVersionHasBeenSet; }
99 template <typename EsxVersionT = Aws::String>
100 void SetEsxVersion(EsxVersionT&& value) {
101 m_esxVersionHasBeenSet = true;
102 m_esxVersion = std::forward<EsxVersionT>(value);
103 }
104 template <typename EsxVersionT = Aws::String>
106 SetEsxVersion(std::forward<EsxVersionT>(value));
107 return *this;
108 }
110 private:
112
113 Aws::String m_environmentId;
114
115 HostInfoForCreate m_host;
116
117 Aws::String m_esxVersion;
118 bool m_clientTokenHasBeenSet = true;
119 bool m_environmentIdHasBeenSet = false;
120 bool m_hostHasBeenSet = false;
121 bool m_esxVersionHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace EVS
126} // namespace Aws
CreateEnvironmentHostRequest & WithHost(HostT &&value)
AWS_EVS_API CreateEnvironmentHostRequest()=default
CreateEnvironmentHostRequest & WithEsxVersion(EsxVersionT &&value)
AWS_EVS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
CreateEnvironmentHostRequest & WithClientToken(ClientTokenT &&value)
AWS_EVS_API Aws::String SerializePayload() const override
CreateEnvironmentHostRequest & 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