AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetTemplateBody(const Aws::String& value) { m_templateBodyHasBeenSet = true; m_templateBody = value; }
42 inline void SetTemplateBody(Aws::String&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::move(value); }
43 inline void SetTemplateBody(const char* value) { m_templateBodyHasBeenSet = true; m_templateBody.assign(value); }
45 inline StartThingRegistrationTaskRequest& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
46 inline StartThingRegistrationTaskRequest& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
48
50
53 inline const Aws::String& GetInputFileBucket() const{ return m_inputFileBucket; }
54 inline bool InputFileBucketHasBeenSet() const { return m_inputFileBucketHasBeenSet; }
55 inline void SetInputFileBucket(const Aws::String& value) { m_inputFileBucketHasBeenSet = true; m_inputFileBucket = value; }
56 inline void SetInputFileBucket(Aws::String&& value) { m_inputFileBucketHasBeenSet = true; m_inputFileBucket = std::move(value); }
57 inline void SetInputFileBucket(const char* value) { m_inputFileBucketHasBeenSet = true; m_inputFileBucket.assign(value); }
59 inline StartThingRegistrationTaskRequest& WithInputFileBucket(Aws::String&& value) { SetInputFileBucket(std::move(value)); return *this;}
60 inline StartThingRegistrationTaskRequest& WithInputFileBucket(const char* value) { SetInputFileBucket(value); return *this;}
62
64
69 inline const Aws::String& GetInputFileKey() const{ return m_inputFileKey; }
70 inline bool InputFileKeyHasBeenSet() const { return m_inputFileKeyHasBeenSet; }
71 inline void SetInputFileKey(const Aws::String& value) { m_inputFileKeyHasBeenSet = true; m_inputFileKey = value; }
72 inline void SetInputFileKey(Aws::String&& value) { m_inputFileKeyHasBeenSet = true; m_inputFileKey = std::move(value); }
73 inline void SetInputFileKey(const char* value) { m_inputFileKeyHasBeenSet = true; m_inputFileKey.assign(value); }
75 inline StartThingRegistrationTaskRequest& WithInputFileKey(Aws::String&& value) { SetInputFileKey(std::move(value)); return *this;}
76 inline StartThingRegistrationTaskRequest& WithInputFileKey(const char* value) { SetInputFileKey(value); return *this;}
78
80
83 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
84 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
85 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
86 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
87 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
88 inline StartThingRegistrationTaskRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
89 inline StartThingRegistrationTaskRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
90 inline StartThingRegistrationTaskRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
92 private:
93
94 Aws::String m_templateBody;
95 bool m_templateBodyHasBeenSet = false;
96
97 Aws::String m_inputFileBucket;
98 bool m_inputFileBucketHasBeenSet = false;
99
100 Aws::String m_inputFileKey;
101 bool m_inputFileKeyHasBeenSet = false;
102
103 Aws::String m_roleArn;
104 bool m_roleArnHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace IoT
109} // namespace Aws
StartThingRegistrationTaskRequest & WithRoleArn(Aws::String &&value)
StartThingRegistrationTaskRequest & WithTemplateBody(const Aws::String &value)
StartThingRegistrationTaskRequest & WithInputFileKey(const Aws::String &value)
StartThingRegistrationTaskRequest & WithInputFileBucket(const char *value)
AWS_IOT_API Aws::String SerializePayload() const override
StartThingRegistrationTaskRequest & WithRoleArn(const Aws::String &value)
StartThingRegistrationTaskRequest & WithInputFileKey(const char *value)
StartThingRegistrationTaskRequest & WithInputFileKey(Aws::String &&value)
StartThingRegistrationTaskRequest & WithTemplateBody(Aws::String &&value)
StartThingRegistrationTaskRequest & WithTemplateBody(const char *value)
StartThingRegistrationTaskRequest & WithRoleArn(const char *value)
StartThingRegistrationTaskRequest & WithInputFileBucket(Aws::String &&value)
StartThingRegistrationTaskRequest & WithInputFileBucket(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String