AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteNetworkSiteRequest.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 Http
15{
16 class URI;
17} //namespace Http
18namespace PrivateNetworks
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_PRIVATENETWORKS_API DeleteNetworkSiteRequest();
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 "DeleteNetworkSite"; }
35
36 AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override;
37
38 AWS_PRIVATENETWORKS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
48 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
49 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
50 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
51 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
52 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
53 inline DeleteNetworkSiteRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
54 inline DeleteNetworkSiteRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
55 inline DeleteNetworkSiteRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
57
59
62 inline const Aws::String& GetNetworkSiteArn() const{ return m_networkSiteArn; }
63 inline bool NetworkSiteArnHasBeenSet() const { return m_networkSiteArnHasBeenSet; }
64 inline void SetNetworkSiteArn(const Aws::String& value) { m_networkSiteArnHasBeenSet = true; m_networkSiteArn = value; }
65 inline void SetNetworkSiteArn(Aws::String&& value) { m_networkSiteArnHasBeenSet = true; m_networkSiteArn = std::move(value); }
66 inline void SetNetworkSiteArn(const char* value) { m_networkSiteArnHasBeenSet = true; m_networkSiteArn.assign(value); }
67 inline DeleteNetworkSiteRequest& WithNetworkSiteArn(const Aws::String& value) { SetNetworkSiteArn(value); return *this;}
68 inline DeleteNetworkSiteRequest& WithNetworkSiteArn(Aws::String&& value) { SetNetworkSiteArn(std::move(value)); return *this;}
69 inline DeleteNetworkSiteRequest& WithNetworkSiteArn(const char* value) { SetNetworkSiteArn(value); return *this;}
71 private:
72
73 Aws::String m_clientToken;
74 bool m_clientTokenHasBeenSet = false;
75
76 Aws::String m_networkSiteArn;
77 bool m_networkSiteArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace PrivateNetworks
82} // namespace Aws
DeleteNetworkSiteRequest & WithNetworkSiteArn(const Aws::String &value)
DeleteNetworkSiteRequest & WithClientToken(const char *value)
DeleteNetworkSiteRequest & WithClientToken(Aws::String &&value)
DeleteNetworkSiteRequest & WithNetworkSiteArn(Aws::String &&value)
DeleteNetworkSiteRequest & WithClientToken(const Aws::String &value)
AWS_PRIVATENETWORKS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DeleteNetworkSiteRequest & WithNetworkSiteArn(const char *value)
AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String