AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
CreateDeploymentSnapshotRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/network-security-manager/NetworkSecurityManagerRequest.h>
11#include <aws/network-security-manager/NetworkSecurityManager_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace NetworkSecurityManager {
17namespace Model {
18
22 public:
23 AWS_NETWORKSECURITYMANAGER_API CreateDeploymentSnapshotRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateDeploymentSnapshot"; }
30
31 AWS_NETWORKSECURITYMANAGER_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetDeploymentIdentifier() const { return m_deploymentIdentifier; }
39 inline bool DeploymentIdentifierHasBeenSet() const { return m_deploymentIdentifierHasBeenSet; }
40 template <typename DeploymentIdentifierT = Aws::String>
41 void SetDeploymentIdentifier(DeploymentIdentifierT&& value) {
42 m_deploymentIdentifierHasBeenSet = true;
43 m_deploymentIdentifier = std::forward<DeploymentIdentifierT>(value);
44 }
45 template <typename DeploymentIdentifierT = Aws::String>
47 SetDeploymentIdentifier(std::forward<DeploymentIdentifierT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::String& GetClientToken() const { return m_clientToken; }
60 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
61 template <typename ClientTokenT = Aws::String>
62 void SetClientToken(ClientTokenT&& value) {
63 m_clientTokenHasBeenSet = true;
64 m_clientToken = std::forward<ClientTokenT>(value);
65 }
66 template <typename ClientTokenT = Aws::String>
68 SetClientToken(std::forward<ClientTokenT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
78 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
79 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
80 void SetTags(TagsT&& value) {
81 m_tagsHasBeenSet = true;
82 m_tags = std::forward<TagsT>(value);
83 }
84 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
86 SetTags(std::forward<TagsT>(value));
87 return *this;
88 }
89 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
90 CreateDeploymentSnapshotRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
91 m_tagsHasBeenSet = true;
92 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_deploymentIdentifier;
98
100
102 bool m_deploymentIdentifierHasBeenSet = false;
103 bool m_clientTokenHasBeenSet = true;
104 bool m_tagsHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace NetworkSecurityManager
109} // namespace Aws
AWS_NETWORKSECURITYMANAGER_API Aws::String SerializePayload() const override
CreateDeploymentSnapshotRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateDeploymentSnapshotRequest & WithDeploymentIdentifier(DeploymentIdentifierT &&value)
AWS_NETWORKSECURITYMANAGER_API CreateDeploymentSnapshotRequest()=default
CreateDeploymentSnapshotRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String