AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartThingRegistrationTaskRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IoT
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IOT_API StartThingRegistrationTaskRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartThingRegistrationTask"; }
31
32 AWS_IOT_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetTemplateBody() const { return m_templateBody; }
40 inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
41 template<typename TemplateBodyT = Aws::String>
42 void SetTemplateBody(TemplateBodyT&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::forward<TemplateBodyT>(value); }
43 template<typename TemplateBodyT = Aws::String>
44 StartThingRegistrationTaskRequest& WithTemplateBody(TemplateBodyT&& value) { SetTemplateBody(std::forward<TemplateBodyT>(value)); return *this;}
46
48
51 inline const Aws::String& GetInputFileBucket() const { return m_inputFileBucket; }
52 inline bool InputFileBucketHasBeenSet() const { return m_inputFileBucketHasBeenSet; }
53 template<typename InputFileBucketT = Aws::String>
54 void SetInputFileBucket(InputFileBucketT&& value) { m_inputFileBucketHasBeenSet = true; m_inputFileBucket = std::forward<InputFileBucketT>(value); }
55 template<typename InputFileBucketT = Aws::String>
56 StartThingRegistrationTaskRequest& WithInputFileBucket(InputFileBucketT&& value) { SetInputFileBucket(std::forward<InputFileBucketT>(value)); return *this;}
58
60
65 inline const Aws::String& GetInputFileKey() const { return m_inputFileKey; }
66 inline bool InputFileKeyHasBeenSet() const { return m_inputFileKeyHasBeenSet; }
67 template<typename InputFileKeyT = Aws::String>
68 void SetInputFileKey(InputFileKeyT&& value) { m_inputFileKeyHasBeenSet = true; m_inputFileKey = std::forward<InputFileKeyT>(value); }
69 template<typename InputFileKeyT = Aws::String>
70 StartThingRegistrationTaskRequest& WithInputFileKey(InputFileKeyT&& value) { SetInputFileKey(std::forward<InputFileKeyT>(value)); return *this;}
72
74
77 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
78 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
79 template<typename RoleArnT = Aws::String>
80 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
81 template<typename RoleArnT = Aws::String>
82 StartThingRegistrationTaskRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
84 private:
85
86 Aws::String m_templateBody;
87 bool m_templateBodyHasBeenSet = false;
88
89 Aws::String m_inputFileBucket;
90 bool m_inputFileBucketHasBeenSet = false;
91
92 Aws::String m_inputFileKey;
93 bool m_inputFileKeyHasBeenSet = false;
94
95 Aws::String m_roleArn;
96 bool m_roleArnHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace IoT
101} // 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