AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
StartThingRegistrationTaskRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/IoT_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace IoT {
15namespace Model {
16
20 public:
21 AWS_IOT_API StartThingRegistrationTaskRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "StartThingRegistrationTask"; }
28
29 AWS_IOT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetTemplateBody() const { return m_templateBody; }
36 inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
37 template <typename TemplateBodyT = Aws::String>
38 void SetTemplateBody(TemplateBodyT&& value) {
39 m_templateBodyHasBeenSet = true;
40 m_templateBody = std::forward<TemplateBodyT>(value);
41 }
42 template <typename TemplateBodyT = Aws::String>
44 SetTemplateBody(std::forward<TemplateBodyT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetInputFileBucket() const { return m_inputFileBucket; }
54 inline bool InputFileBucketHasBeenSet() const { return m_inputFileBucketHasBeenSet; }
55 template <typename InputFileBucketT = Aws::String>
56 void SetInputFileBucket(InputFileBucketT&& value) {
57 m_inputFileBucketHasBeenSet = true;
58 m_inputFileBucket = std::forward<InputFileBucketT>(value);
59 }
60 template <typename InputFileBucketT = Aws::String>
62 SetInputFileBucket(std::forward<InputFileBucketT>(value));
63 return *this;
64 }
66
68
73 inline const Aws::String& GetInputFileKey() const { return m_inputFileKey; }
74 inline bool InputFileKeyHasBeenSet() const { return m_inputFileKeyHasBeenSet; }
75 template <typename InputFileKeyT = Aws::String>
76 void SetInputFileKey(InputFileKeyT&& value) {
77 m_inputFileKeyHasBeenSet = true;
78 m_inputFileKey = std::forward<InputFileKeyT>(value);
79 }
80 template <typename InputFileKeyT = Aws::String>
82 SetInputFileKey(std::forward<InputFileKeyT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
92 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
93 template <typename RoleArnT = Aws::String>
94 void SetRoleArn(RoleArnT&& value) {
95 m_roleArnHasBeenSet = true;
96 m_roleArn = std::forward<RoleArnT>(value);
97 }
98 template <typename RoleArnT = Aws::String>
100 SetRoleArn(std::forward<RoleArnT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_templateBody;
106
107 Aws::String m_inputFileBucket;
108
109 Aws::String m_inputFileKey;
110
111 Aws::String m_roleArn;
112 bool m_templateBodyHasBeenSet = false;
113 bool m_inputFileBucketHasBeenSet = false;
114 bool m_inputFileKeyHasBeenSet = false;
115 bool m_roleArnHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace IoT
120} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
StartThingRegistrationTaskRequest & WithTemplateBody(TemplateBodyT &&value)
StartThingRegistrationTaskRequest & WithInputFileKey(InputFileKeyT &&value)
StartThingRegistrationTaskRequest & WithInputFileBucket(InputFileBucketT &&value)
StartThingRegistrationTaskRequest & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String