AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateNetworkSiteRequest.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 <utility>
11
12namespace Aws
13{
14namespace PrivateNetworks
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_PRIVATENETWORKS_API UpdateNetworkSiteRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateNetworkSite"; }
31
32 AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override;
33
34
36
42 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
45 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
46 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
47 inline UpdateNetworkSiteRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
48 inline UpdateNetworkSiteRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
49 inline UpdateNetworkSiteRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline UpdateNetworkSiteRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline UpdateNetworkSiteRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline UpdateNetworkSiteRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
70 inline const Aws::String& GetNetworkSiteArn() const{ return m_networkSiteArn; }
71 inline bool NetworkSiteArnHasBeenSet() const { return m_networkSiteArnHasBeenSet; }
72 inline void SetNetworkSiteArn(const Aws::String& value) { m_networkSiteArnHasBeenSet = true; m_networkSiteArn = value; }
73 inline void SetNetworkSiteArn(Aws::String&& value) { m_networkSiteArnHasBeenSet = true; m_networkSiteArn = std::move(value); }
74 inline void SetNetworkSiteArn(const char* value) { m_networkSiteArnHasBeenSet = true; m_networkSiteArn.assign(value); }
75 inline UpdateNetworkSiteRequest& WithNetworkSiteArn(const Aws::String& value) { SetNetworkSiteArn(value); return *this;}
76 inline UpdateNetworkSiteRequest& WithNetworkSiteArn(Aws::String&& value) { SetNetworkSiteArn(std::move(value)); return *this;}
77 inline UpdateNetworkSiteRequest& WithNetworkSiteArn(const char* value) { SetNetworkSiteArn(value); return *this;}
79 private:
80
81 Aws::String m_clientToken;
82 bool m_clientTokenHasBeenSet = false;
83
84 Aws::String m_description;
85 bool m_descriptionHasBeenSet = false;
86
87 Aws::String m_networkSiteArn;
88 bool m_networkSiteArnHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace PrivateNetworks
93} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateNetworkSiteRequest & WithNetworkSiteArn(Aws::String &&value)
UpdateNetworkSiteRequest & WithNetworkSiteArn(const Aws::String &value)
UpdateNetworkSiteRequest & WithClientToken(const char *value)
AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override
UpdateNetworkSiteRequest & WithClientToken(const Aws::String &value)
UpdateNetworkSiteRequest & WithDescription(Aws::String &&value)
UpdateNetworkSiteRequest & WithDescription(const char *value)
UpdateNetworkSiteRequest & WithNetworkSiteArn(const char *value)
UpdateNetworkSiteRequest & WithDescription(const Aws::String &value)
UpdateNetworkSiteRequest & WithClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String