AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActivateNetworkSiteRequest.h
1
6#pragma once
7#include <aws/privatenetworks/PrivateNetworks_EXPORTS.h>
8#include <aws/privatenetworks/PrivateNetworksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/privatenetworks/model/CommitmentConfiguration.h>
11#include <aws/privatenetworks/model/Address.h>
12#include <utility>
13
14namespace Aws
15{
16namespace PrivateNetworks
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_PRIVATENETWORKS_API ActivateNetworkSiteRequest();
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 "ActivateNetworkSite"; }
33
34 AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override;
35
36
38
44 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
47 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
48 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
49 inline ActivateNetworkSiteRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline ActivateNetworkSiteRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline ActivateNetworkSiteRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
53
55
68 inline const CommitmentConfiguration& GetCommitmentConfiguration() const{ return m_commitmentConfiguration; }
69 inline bool CommitmentConfigurationHasBeenSet() const { return m_commitmentConfigurationHasBeenSet; }
70 inline void SetCommitmentConfiguration(const CommitmentConfiguration& value) { m_commitmentConfigurationHasBeenSet = true; m_commitmentConfiguration = value; }
71 inline void SetCommitmentConfiguration(CommitmentConfiguration&& value) { m_commitmentConfigurationHasBeenSet = true; m_commitmentConfiguration = std::move(value); }
75
77
80 inline const Aws::String& GetNetworkSiteArn() const{ return m_networkSiteArn; }
81 inline bool NetworkSiteArnHasBeenSet() const { return m_networkSiteArnHasBeenSet; }
82 inline void SetNetworkSiteArn(const Aws::String& value) { m_networkSiteArnHasBeenSet = true; m_networkSiteArn = value; }
83 inline void SetNetworkSiteArn(Aws::String&& value) { m_networkSiteArnHasBeenSet = true; m_networkSiteArn = std::move(value); }
84 inline void SetNetworkSiteArn(const char* value) { m_networkSiteArnHasBeenSet = true; m_networkSiteArn.assign(value); }
85 inline ActivateNetworkSiteRequest& WithNetworkSiteArn(const Aws::String& value) { SetNetworkSiteArn(value); return *this;}
86 inline ActivateNetworkSiteRequest& WithNetworkSiteArn(Aws::String&& value) { SetNetworkSiteArn(std::move(value)); return *this;}
87 inline ActivateNetworkSiteRequest& WithNetworkSiteArn(const char* value) { SetNetworkSiteArn(value); return *this;}
89
91
94 inline const Address& GetShippingAddress() const{ return m_shippingAddress; }
95 inline bool ShippingAddressHasBeenSet() const { return m_shippingAddressHasBeenSet; }
96 inline void SetShippingAddress(const Address& value) { m_shippingAddressHasBeenSet = true; m_shippingAddress = value; }
97 inline void SetShippingAddress(Address&& value) { m_shippingAddressHasBeenSet = true; m_shippingAddress = std::move(value); }
98 inline ActivateNetworkSiteRequest& WithShippingAddress(const Address& value) { SetShippingAddress(value); return *this;}
99 inline ActivateNetworkSiteRequest& WithShippingAddress(Address&& value) { SetShippingAddress(std::move(value)); return *this;}
101 private:
102
103 Aws::String m_clientToken;
104 bool m_clientTokenHasBeenSet = false;
105
106 CommitmentConfiguration m_commitmentConfiguration;
107 bool m_commitmentConfigurationHasBeenSet = false;
108
109 Aws::String m_networkSiteArn;
110 bool m_networkSiteArnHasBeenSet = false;
111
112 Address m_shippingAddress;
113 bool m_shippingAddressHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace PrivateNetworks
118} // namespace Aws
ActivateNetworkSiteRequest & WithClientToken(const Aws::String &value)
void SetCommitmentConfiguration(const CommitmentConfiguration &value)
ActivateNetworkSiteRequest & WithClientToken(const char *value)
ActivateNetworkSiteRequest & WithShippingAddress(Address &&value)
ActivateNetworkSiteRequest & WithNetworkSiteArn(Aws::String &&value)
ActivateNetworkSiteRequest & WithClientToken(Aws::String &&value)
ActivateNetworkSiteRequest & WithCommitmentConfiguration(const CommitmentConfiguration &value)
ActivateNetworkSiteRequest & WithCommitmentConfiguration(CommitmentConfiguration &&value)
ActivateNetworkSiteRequest & WithShippingAddress(const Address &value)
ActivateNetworkSiteRequest & WithNetworkSiteArn(const Aws::String &value)
const CommitmentConfiguration & GetCommitmentConfiguration() const
ActivateNetworkSiteRequest & WithNetworkSiteArn(const char *value)
AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String