AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAmznClientToken(const Aws::String& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = value; }
45 inline void SetAmznClientToken(Aws::String&& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = std::move(value); }
46 inline void SetAmznClientToken(const char* value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken.assign(value); }
48 inline StartBulkDeploymentRequest& WithAmznClientToken(Aws::String&& value) { SetAmznClientToken(std::move(value)); return *this;}
49 inline StartBulkDeploymentRequest& WithAmznClientToken(const char* value) { SetAmznClientToken(value); return *this;}
51
53
59 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
60 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
61 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
62 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
63 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
65 inline StartBulkDeploymentRequest& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
66 inline StartBulkDeploymentRequest& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
68
70
78 inline const Aws::String& GetInputFileUri() const{ return m_inputFileUri; }
79 inline bool InputFileUriHasBeenSet() const { return m_inputFileUriHasBeenSet; }
80 inline void SetInputFileUri(const Aws::String& value) { m_inputFileUriHasBeenSet = true; m_inputFileUri = value; }
81 inline void SetInputFileUri(Aws::String&& value) { m_inputFileUriHasBeenSet = true; m_inputFileUri = std::move(value); }
82 inline void SetInputFileUri(const char* value) { m_inputFileUriHasBeenSet = true; m_inputFileUri.assign(value); }
83 inline StartBulkDeploymentRequest& WithInputFileUri(const Aws::String& value) { SetInputFileUri(value); return *this;}
84 inline StartBulkDeploymentRequest& WithInputFileUri(Aws::String&& value) { SetInputFileUri(std::move(value)); return *this;}
85 inline StartBulkDeploymentRequest& WithInputFileUri(const char* value) { SetInputFileUri(value); return *this;}
87
89
92 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
93 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
94 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
95 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
97 inline StartBulkDeploymentRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
98 inline StartBulkDeploymentRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
99 inline StartBulkDeploymentRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
100 inline StartBulkDeploymentRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
101 inline StartBulkDeploymentRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
102 inline StartBulkDeploymentRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
103 inline StartBulkDeploymentRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
104 inline StartBulkDeploymentRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
106 private:
107
108 Aws::String m_amznClientToken;
109 bool m_amznClientTokenHasBeenSet = false;
110
111 Aws::String m_executionRoleArn;
112 bool m_executionRoleArnHasBeenSet = false;
113
114 Aws::String m_inputFileUri;
115 bool m_inputFileUriHasBeenSet = false;
116
118 bool m_tagsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Greengrass
123} // namespace Aws
StartBulkDeploymentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_GREENGRASS_API Aws::String SerializePayload() const override
StartBulkDeploymentRequest & AddTags(Aws::String &&key, const Aws::String &value)
StartBulkDeploymentRequest & WithInputFileUri(const char *value)
StartBulkDeploymentRequest & AddTags(Aws::String &&key, const char *value)
StartBulkDeploymentRequest & WithAmznClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
StartBulkDeploymentRequest & WithExecutionRoleArn(Aws::String &&value)
StartBulkDeploymentRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StartBulkDeploymentRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartBulkDeploymentRequest & AddTags(const char *key, const char *value)
StartBulkDeploymentRequest & WithExecutionRoleArn(const Aws::String &value)
StartBulkDeploymentRequest & AddTags(const Aws::String &key, const Aws::String &value)
StartBulkDeploymentRequest & WithInputFileUri(const Aws::String &value)
StartBulkDeploymentRequest & AddTags(Aws::String &&key, Aws::String &&value)
StartBulkDeploymentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StartBulkDeploymentRequest & WithAmznClientToken(const Aws::String &value)
StartBulkDeploymentRequest & WithExecutionRoleArn(const char *value)
AWS_GREENGRASS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartBulkDeploymentRequest & WithInputFileUri(Aws::String &&value)
StartBulkDeploymentRequest & WithAmznClientToken(const char *value)
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