AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteNetworkRequest.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 DeleteNetworkRequest();
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 "DeleteNetwork"; }
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 DeleteNetworkRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
54 inline DeleteNetworkRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
55 inline DeleteNetworkRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
57
59
62 inline const Aws::String& GetNetworkArn() const{ return m_networkArn; }
63 inline bool NetworkArnHasBeenSet() const { return m_networkArnHasBeenSet; }
64 inline void SetNetworkArn(const Aws::String& value) { m_networkArnHasBeenSet = true; m_networkArn = value; }
65 inline void SetNetworkArn(Aws::String&& value) { m_networkArnHasBeenSet = true; m_networkArn = std::move(value); }
66 inline void SetNetworkArn(const char* value) { m_networkArnHasBeenSet = true; m_networkArn.assign(value); }
67 inline DeleteNetworkRequest& WithNetworkArn(const Aws::String& value) { SetNetworkArn(value); return *this;}
68 inline DeleteNetworkRequest& WithNetworkArn(Aws::String&& value) { SetNetworkArn(std::move(value)); return *this;}
69 inline DeleteNetworkRequest& WithNetworkArn(const char* value) { SetNetworkArn(value); return *this;}
71 private:
72
73 Aws::String m_clientToken;
74 bool m_clientTokenHasBeenSet = false;
75
76 Aws::String m_networkArn;
77 bool m_networkArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace PrivateNetworks
82} // namespace Aws
DeleteNetworkRequest & WithNetworkArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DeleteNetworkRequest & WithNetworkArn(const char *value)
DeleteNetworkRequest & WithClientToken(const Aws::String &value)
AWS_PRIVATENETWORKS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteNetworkRequest & WithClientToken(const char *value)
AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override
DeleteNetworkRequest & WithNetworkArn(Aws::String &&value)
DeleteNetworkRequest & WithClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String