AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
38
39
41
44 inline const Aws::String& GetTemplateBody() const { return m_templateBody; }
45 inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
46 template<typename TemplateBodyT = Aws::String>
47 void SetTemplateBody(TemplateBodyT&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::forward<TemplateBodyT>(value); }
48 template<typename TemplateBodyT = Aws::String>
49 RegistrationConfig& WithTemplateBody(TemplateBodyT&& value) { SetTemplateBody(std::forward<TemplateBodyT>(value)); return *this;}
51
53
56 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
57 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
58 template<typename RoleArnT = Aws::String>
59 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
60 template<typename RoleArnT = Aws::String>
61 RegistrationConfig& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
63
65
68 inline const Aws::String& GetTemplateName() const { return m_templateName; }
69 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
70 template<typename TemplateNameT = Aws::String>
71 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
72 template<typename TemplateNameT = Aws::String>
73 RegistrationConfig& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
75 private:
76
77 Aws::String m_templateBody;
78 bool m_templateBodyHasBeenSet = false;
79
80 Aws::String m_roleArn;
81 bool m_roleArnHasBeenSet = false;
82
83 Aws::String m_templateName;
84 bool m_templateNameHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace IoT
89} // namespace Aws
const Aws::String & GetTemplateName() const
RegistrationConfig & WithTemplateBody(TemplateBodyT &&value)
AWS_IOT_API RegistrationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API RegistrationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API RegistrationConfig()=default
void SetTemplateName(TemplateNameT &&value)
RegistrationConfig & WithRoleArn(RoleArnT &&value)
RegistrationConfig & WithTemplateName(TemplateNameT &&value)
const Aws::String & GetTemplateBody() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTemplateBody(TemplateBodyT &&value)
const Aws::String & GetRoleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue