AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartBulkDeploymentRequest.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/GreengrassRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Greengrass
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GREENGRASS_API StartBulkDeploymentRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartBulkDeployment"; }
32
33 AWS_GREENGRASS_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetAmznClientToken() const { return m_amznClientToken; }
43 inline bool AmznClientTokenHasBeenSet() const { return m_amznClientTokenHasBeenSet; }
44 template<typename AmznClientTokenT = Aws::String>
45 void SetAmznClientToken(AmznClientTokenT&& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = std::forward<AmznClientTokenT>(value); }
46 template<typename AmznClientTokenT = Aws::String>
47 StartBulkDeploymentRequest& WithAmznClientToken(AmznClientTokenT&& value) { SetAmznClientToken(std::forward<AmznClientTokenT>(value)); return *this;}
49
51
57 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
58 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
59 template<typename ExecutionRoleArnT = Aws::String>
60 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
61 template<typename ExecutionRoleArnT = Aws::String>
62 StartBulkDeploymentRequest& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
64
66
74 inline const Aws::String& GetInputFileUri() const { return m_inputFileUri; }
75 inline bool InputFileUriHasBeenSet() const { return m_inputFileUriHasBeenSet; }
76 template<typename InputFileUriT = Aws::String>
77 void SetInputFileUri(InputFileUriT&& value) { m_inputFileUriHasBeenSet = true; m_inputFileUri = std::forward<InputFileUriT>(value); }
78 template<typename InputFileUriT = Aws::String>
79 StartBulkDeploymentRequest& WithInputFileUri(InputFileUriT&& value) { SetInputFileUri(std::forward<InputFileUriT>(value)); return *this;}
81
83
86 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
87 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
88 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
89 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
90 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
91 StartBulkDeploymentRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
92 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
93 StartBulkDeploymentRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
94 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
95 }
97 private:
98
99 Aws::String m_amznClientToken;
100 bool m_amznClientTokenHasBeenSet = false;
101
102 Aws::String m_executionRoleArn;
103 bool m_executionRoleArnHasBeenSet = false;
104
105 Aws::String m_inputFileUri;
106 bool m_inputFileUriHasBeenSet = false;
107
109 bool m_tagsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Greengrass
114} // 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