AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateEnvironmentHostRequest.h
1
6#pragma once
7#include <aws/evs/EVS_EXPORTS.h>
8#include <aws/evs/EVSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/evs/model/HostInfoForCreate.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace EVS
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_EVS_API CreateEnvironmentHostRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateEnvironmentHost"; }
33
34 AWS_EVS_API Aws::String SerializePayload() const override;
35
37
38
40
47 inline const Aws::String& GetClientToken() const { return m_clientToken; }
48 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
49 template<typename ClientTokenT = Aws::String>
50 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
51 template<typename ClientTokenT = Aws::String>
52 CreateEnvironmentHostRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
54
56
59 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
60 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
61 template<typename EnvironmentIdT = Aws::String>
62 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
63 template<typename EnvironmentIdT = Aws::String>
64 CreateEnvironmentHostRequest& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
66
68
71 inline const HostInfoForCreate& GetHost() const { return m_host; }
72 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
73 template<typename HostT = HostInfoForCreate>
74 void SetHost(HostT&& value) { m_hostHasBeenSet = true; m_host = std::forward<HostT>(value); }
75 template<typename HostT = HostInfoForCreate>
76 CreateEnvironmentHostRequest& WithHost(HostT&& value) { SetHost(std::forward<HostT>(value)); return *this;}
78 private:
79
81 bool m_clientTokenHasBeenSet = true;
82
83 Aws::String m_environmentId;
84 bool m_environmentIdHasBeenSet = false;
85
86 HostInfoForCreate m_host;
87 bool m_hostHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace EVS
92} // namespace Aws
CreateEnvironmentHostRequest & WithHost(HostT &&value)
AWS_EVS_API CreateEnvironmentHostRequest()=default
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