AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
StartBulkDeploymentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/GreengrassRequest.h>
10#include <aws/greengrass/Greengrass_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Greengrass {
16namespace Model {
17
21 public:
22 AWS_GREENGRASS_API StartBulkDeploymentRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StartBulkDeployment"; }
29
30 AWS_GREENGRASS_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetAmznClientToken() const { return m_amznClientToken; }
39 inline bool AmznClientTokenHasBeenSet() const { return m_amznClientTokenHasBeenSet; }
40 template <typename AmznClientTokenT = Aws::String>
41 void SetAmznClientToken(AmznClientTokenT&& value) {
42 m_amznClientTokenHasBeenSet = true;
43 m_amznClientToken = std::forward<AmznClientTokenT>(value);
44 }
45 template <typename AmznClientTokenT = Aws::String>
47 SetAmznClientToken(std::forward<AmznClientTokenT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
60 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
61 template <typename ExecutionRoleArnT = Aws::String>
62 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
63 m_executionRoleArnHasBeenSet = true;
64 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
65 }
66 template <typename ExecutionRoleArnT = Aws::String>
68 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
69 return *this;
70 }
72
74
82 inline const Aws::String& GetInputFileUri() const { return m_inputFileUri; }
83 inline bool InputFileUriHasBeenSet() const { return m_inputFileUriHasBeenSet; }
84 template <typename InputFileUriT = Aws::String>
85 void SetInputFileUri(InputFileUriT&& value) {
86 m_inputFileUriHasBeenSet = true;
87 m_inputFileUri = std::forward<InputFileUriT>(value);
88 }
89 template <typename InputFileUriT = Aws::String>
91 SetInputFileUri(std::forward<InputFileUriT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
101 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
102 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 void SetTags(TagsT&& value) {
104 m_tagsHasBeenSet = true;
105 m_tags = std::forward<TagsT>(value);
106 }
107 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 SetTags(std::forward<TagsT>(value));
110 return *this;
111 }
112 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
113 StartBulkDeploymentRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
114 m_tagsHasBeenSet = true;
115 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
116 return *this;
117 }
119 private:
120 Aws::String m_amznClientToken;
121 bool m_amznClientTokenHasBeenSet = false;
122
123 Aws::String m_executionRoleArn;
124 bool m_executionRoleArnHasBeenSet = false;
125
126 Aws::String m_inputFileUri;
127 bool m_inputFileUriHasBeenSet = false;
128
130 bool m_tagsHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace Greengrass
135} // namespace Aws
AWS_GREENGRASS_API Aws::String SerializePayload() const override
StartBulkDeploymentRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
StartBulkDeploymentRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
StartBulkDeploymentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartBulkDeploymentRequest & WithAmznClientToken(AmznClientTokenT &&value)
AWS_GREENGRASS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartBulkDeploymentRequest & WithInputFileUri(InputFileUriT &&value)
AWS_GREENGRASS_API StartBulkDeploymentRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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