AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ManagedJobTemplateSummary.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoT
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
46 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
47 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
48 inline void SetTemplateArn(const Aws::String& value) { m_templateArnHasBeenSet = true; m_templateArn = value; }
49 inline void SetTemplateArn(Aws::String&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::move(value); }
50 inline void SetTemplateArn(const char* value) { m_templateArnHasBeenSet = true; m_templateArn.assign(value); }
51 inline ManagedJobTemplateSummary& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
52 inline ManagedJobTemplateSummary& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
53 inline ManagedJobTemplateSummary& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
55
57
60 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
61 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
62 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
63 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
64 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
65 inline ManagedJobTemplateSummary& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
66 inline ManagedJobTemplateSummary& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
67 inline ManagedJobTemplateSummary& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline ManagedJobTemplateSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline ManagedJobTemplateSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline ManagedJobTemplateSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const Aws::Vector<Aws::String>& GetEnvironments() const{ return m_environments; }
89 inline bool EnvironmentsHasBeenSet() const { return m_environmentsHasBeenSet; }
90 inline void SetEnvironments(const Aws::Vector<Aws::String>& value) { m_environmentsHasBeenSet = true; m_environments = value; }
91 inline void SetEnvironments(Aws::Vector<Aws::String>&& value) { m_environmentsHasBeenSet = true; m_environments = std::move(value); }
93 inline ManagedJobTemplateSummary& WithEnvironments(Aws::Vector<Aws::String>&& value) { SetEnvironments(std::move(value)); return *this;}
94 inline ManagedJobTemplateSummary& AddEnvironments(const Aws::String& value) { m_environmentsHasBeenSet = true; m_environments.push_back(value); return *this; }
95 inline ManagedJobTemplateSummary& AddEnvironments(Aws::String&& value) { m_environmentsHasBeenSet = true; m_environments.push_back(std::move(value)); return *this; }
96 inline ManagedJobTemplateSummary& AddEnvironments(const char* value) { m_environmentsHasBeenSet = true; m_environments.push_back(value); return *this; }
98
100
103 inline const Aws::String& GetTemplateVersion() const{ return m_templateVersion; }
104 inline bool TemplateVersionHasBeenSet() const { return m_templateVersionHasBeenSet; }
105 inline void SetTemplateVersion(const Aws::String& value) { m_templateVersionHasBeenSet = true; m_templateVersion = value; }
106 inline void SetTemplateVersion(Aws::String&& value) { m_templateVersionHasBeenSet = true; m_templateVersion = std::move(value); }
107 inline void SetTemplateVersion(const char* value) { m_templateVersionHasBeenSet = true; m_templateVersion.assign(value); }
109 inline ManagedJobTemplateSummary& WithTemplateVersion(Aws::String&& value) { SetTemplateVersion(std::move(value)); return *this;}
110 inline ManagedJobTemplateSummary& WithTemplateVersion(const char* value) { SetTemplateVersion(value); return *this;}
112 private:
113
114 Aws::String m_templateArn;
115 bool m_templateArnHasBeenSet = false;
116
117 Aws::String m_templateName;
118 bool m_templateNameHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122
123 Aws::Vector<Aws::String> m_environments;
124 bool m_environmentsHasBeenSet = false;
125
126 Aws::String m_templateVersion;
127 bool m_templateVersionHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace IoT
132} // namespace Aws
ManagedJobTemplateSummary & WithTemplateVersion(const Aws::String &value)
ManagedJobTemplateSummary & WithTemplateVersion(const char *value)
const Aws::Vector< Aws::String > & GetEnvironments() const
ManagedJobTemplateSummary & WithTemplateName(const Aws::String &value)
void SetEnvironments(Aws::Vector< Aws::String > &&value)
ManagedJobTemplateSummary & WithTemplateVersion(Aws::String &&value)
ManagedJobTemplateSummary & AddEnvironments(Aws::String &&value)
ManagedJobTemplateSummary & WithTemplateArn(const char *value)
ManagedJobTemplateSummary & WithTemplateArn(Aws::String &&value)
ManagedJobTemplateSummary & WithDescription(const Aws::String &value)
ManagedJobTemplateSummary & WithDescription(const char *value)
ManagedJobTemplateSummary & WithTemplateArn(const Aws::String &value)
AWS_IOT_API ManagedJobTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API ManagedJobTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedJobTemplateSummary & WithDescription(Aws::String &&value)
ManagedJobTemplateSummary & WithEnvironments(Aws::Vector< Aws::String > &&value)
ManagedJobTemplateSummary & AddEnvironments(const Aws::String &value)
void SetEnvironments(const Aws::Vector< Aws::String > &value)
ManagedJobTemplateSummary & WithTemplateName(const char *value)
ManagedJobTemplateSummary & WithEnvironments(const Aws::Vector< Aws::String > &value)
ManagedJobTemplateSummary & AddEnvironments(const char *value)
ManagedJobTemplateSummary & WithTemplateName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue