AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegistrationConfig.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOT_API RegistrationConfig();
38
39
41
44 inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
45 inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
46 inline void SetTemplateBody(const Aws::String& value) { m_templateBodyHasBeenSet = true; m_templateBody = value; }
47 inline void SetTemplateBody(Aws::String&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::move(value); }
48 inline void SetTemplateBody(const char* value) { m_templateBodyHasBeenSet = true; m_templateBody.assign(value); }
49 inline RegistrationConfig& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
50 inline RegistrationConfig& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
51 inline RegistrationConfig& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
53
55
58 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
59 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
60 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
61 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
62 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
63 inline RegistrationConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
64 inline RegistrationConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
65 inline RegistrationConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
67
69
72 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
73 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
74 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
75 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
76 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
77 inline RegistrationConfig& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
78 inline RegistrationConfig& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
79 inline RegistrationConfig& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
81 private:
82
83 Aws::String m_templateBody;
84 bool m_templateBodyHasBeenSet = false;
85
86 Aws::String m_roleArn;
87 bool m_roleArnHasBeenSet = false;
88
89 Aws::String m_templateName;
90 bool m_templateNameHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IoT
95} // namespace Aws
void SetTemplateName(const Aws::String &value)
RegistrationConfig & WithTemplateName(const char *value)
void SetTemplateBody(const Aws::String &value)
RegistrationConfig & WithTemplateBody(Aws::String &&value)
const Aws::String & GetTemplateName() const
RegistrationConfig & WithTemplateBody(const char *value)
AWS_IOT_API RegistrationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API RegistrationConfig(Aws::Utils::Json::JsonView jsonValue)
RegistrationConfig & WithTemplateBody(const Aws::String &value)
RegistrationConfig & WithTemplateName(const Aws::String &value)
RegistrationConfig & WithRoleArn(const Aws::String &value)
void SetTemplateBody(Aws::String &&value)
void SetTemplateBody(const char *value)
const Aws::String & GetTemplateBody() const
void SetRoleArn(const Aws::String &value)
RegistrationConfig & WithRoleArn(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTemplateName(const char *value)
void SetRoleArn(Aws::String &&value)
RegistrationConfig & WithTemplateName(Aws::String &&value)
const Aws::String & GetRoleArn() const
RegistrationConfig & WithRoleArn(const char *value)
void SetTemplateName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue