AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateKxEnvironmentNetworkRequest.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/FinspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/finspace/model/TransitGatewayConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/finspace/model/CustomDNSServer.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace finspace
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateKxEnvironmentNetwork"; }
35
36 AWS_FINSPACE_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
44 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
45 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
46 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
47 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
49 inline UpdateKxEnvironmentNetworkRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
50 inline UpdateKxEnvironmentNetworkRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
52
54
58 inline const TransitGatewayConfiguration& GetTransitGatewayConfiguration() const{ return m_transitGatewayConfiguration; }
59 inline bool TransitGatewayConfigurationHasBeenSet() const { return m_transitGatewayConfigurationHasBeenSet; }
60 inline void SetTransitGatewayConfiguration(const TransitGatewayConfiguration& value) { m_transitGatewayConfigurationHasBeenSet = true; m_transitGatewayConfiguration = value; }
61 inline void SetTransitGatewayConfiguration(TransitGatewayConfiguration&& value) { m_transitGatewayConfigurationHasBeenSet = true; m_transitGatewayConfiguration = std::move(value); }
65
67
71 inline const Aws::Vector<CustomDNSServer>& GetCustomDNSConfiguration() const{ return m_customDNSConfiguration; }
72 inline bool CustomDNSConfigurationHasBeenSet() const { return m_customDNSConfigurationHasBeenSet; }
73 inline void SetCustomDNSConfiguration(const Aws::Vector<CustomDNSServer>& value) { m_customDNSConfigurationHasBeenSet = true; m_customDNSConfiguration = value; }
74 inline void SetCustomDNSConfiguration(Aws::Vector<CustomDNSServer>&& value) { m_customDNSConfigurationHasBeenSet = true; m_customDNSConfiguration = std::move(value); }
77 inline UpdateKxEnvironmentNetworkRequest& AddCustomDNSConfiguration(const CustomDNSServer& value) { m_customDNSConfigurationHasBeenSet = true; m_customDNSConfiguration.push_back(value); return *this; }
78 inline UpdateKxEnvironmentNetworkRequest& AddCustomDNSConfiguration(CustomDNSServer&& value) { m_customDNSConfigurationHasBeenSet = true; m_customDNSConfiguration.push_back(std::move(value)); return *this; }
80
82
85 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
86 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
87 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
88 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
89 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
90 inline UpdateKxEnvironmentNetworkRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
91 inline UpdateKxEnvironmentNetworkRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
92 inline UpdateKxEnvironmentNetworkRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
94 private:
95
96 Aws::String m_environmentId;
97 bool m_environmentIdHasBeenSet = false;
98
99 TransitGatewayConfiguration m_transitGatewayConfiguration;
100 bool m_transitGatewayConfigurationHasBeenSet = false;
101
102 Aws::Vector<CustomDNSServer> m_customDNSConfiguration;
103 bool m_customDNSConfigurationHasBeenSet = false;
104
105 Aws::String m_clientToken;
106 bool m_clientTokenHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace finspace
111} // namespace Aws
UpdateKxEnvironmentNetworkRequest & WithEnvironmentId(Aws::String &&value)
UpdateKxEnvironmentNetworkRequest & WithTransitGatewayConfiguration(const TransitGatewayConfiguration &value)
UpdateKxEnvironmentNetworkRequest & WithClientToken(Aws::String &&value)
UpdateKxEnvironmentNetworkRequest & WithCustomDNSConfiguration(Aws::Vector< CustomDNSServer > &&value)
UpdateKxEnvironmentNetworkRequest & WithClientToken(const Aws::String &value)
UpdateKxEnvironmentNetworkRequest & AddCustomDNSConfiguration(CustomDNSServer &&value)
UpdateKxEnvironmentNetworkRequest & AddCustomDNSConfiguration(const CustomDNSServer &value)
const TransitGatewayConfiguration & GetTransitGatewayConfiguration() const
const Aws::Vector< CustomDNSServer > & GetCustomDNSConfiguration() const
AWS_FINSPACE_API Aws::String SerializePayload() const override
UpdateKxEnvironmentNetworkRequest & WithCustomDNSConfiguration(const Aws::Vector< CustomDNSServer > &value)
void SetTransitGatewayConfiguration(const TransitGatewayConfiguration &value)
UpdateKxEnvironmentNetworkRequest & WithEnvironmentId(const Aws::String &value)
void SetCustomDNSConfiguration(const Aws::Vector< CustomDNSServer > &value)
void SetCustomDNSConfiguration(Aws::Vector< CustomDNSServer > &&value)
UpdateKxEnvironmentNetworkRequest & WithTransitGatewayConfiguration(TransitGatewayConfiguration &&value)
UpdateKxEnvironmentNetworkRequest & WithClientToken(const char *value)
UpdateKxEnvironmentNetworkRequest & WithEnvironmentId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector