AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeManagedJobTemplateResult.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 <aws/iot/model/DocumentParameter.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoT
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
42 inline void SetTemplateName(const Aws::String& value) { m_templateName = value; }
43 inline void SetTemplateName(Aws::String&& value) { m_templateName = std::move(value); }
44 inline void SetTemplateName(const char* value) { m_templateName.assign(value); }
46 inline DescribeManagedJobTemplateResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
47 inline DescribeManagedJobTemplateResult& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
49
51
54 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
55 inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; }
56 inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); }
57 inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); }
58 inline DescribeManagedJobTemplateResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
59 inline DescribeManagedJobTemplateResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
60 inline DescribeManagedJobTemplateResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
62
64
67 inline const Aws::String& GetDescription() const{ return m_description; }
68 inline void SetDescription(const Aws::String& value) { m_description = value; }
69 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
70 inline void SetDescription(const char* value) { m_description.assign(value); }
71 inline DescribeManagedJobTemplateResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 inline DescribeManagedJobTemplateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline DescribeManagedJobTemplateResult& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
80 inline const Aws::String& GetTemplateVersion() const{ return m_templateVersion; }
81 inline void SetTemplateVersion(const Aws::String& value) { m_templateVersion = value; }
82 inline void SetTemplateVersion(Aws::String&& value) { m_templateVersion = std::move(value); }
83 inline void SetTemplateVersion(const char* value) { m_templateVersion.assign(value); }
85 inline DescribeManagedJobTemplateResult& WithTemplateVersion(Aws::String&& value) { SetTemplateVersion(std::move(value)); return *this;}
86 inline DescribeManagedJobTemplateResult& WithTemplateVersion(const char* value) { SetTemplateVersion(value); return *this;}
88
90
93 inline const Aws::Vector<Aws::String>& GetEnvironments() const{ return m_environments; }
94 inline void SetEnvironments(const Aws::Vector<Aws::String>& value) { m_environments = value; }
95 inline void SetEnvironments(Aws::Vector<Aws::String>&& value) { m_environments = std::move(value); }
98 inline DescribeManagedJobTemplateResult& AddEnvironments(const Aws::String& value) { m_environments.push_back(value); return *this; }
99 inline DescribeManagedJobTemplateResult& AddEnvironments(Aws::String&& value) { m_environments.push_back(std::move(value)); return *this; }
100 inline DescribeManagedJobTemplateResult& AddEnvironments(const char* value) { m_environments.push_back(value); return *this; }
102
104
111 inline const Aws::Vector<DocumentParameter>& GetDocumentParameters() const{ return m_documentParameters; }
112 inline void SetDocumentParameters(const Aws::Vector<DocumentParameter>& value) { m_documentParameters = value; }
113 inline void SetDocumentParameters(Aws::Vector<DocumentParameter>&& value) { m_documentParameters = std::move(value); }
116 inline DescribeManagedJobTemplateResult& AddDocumentParameters(const DocumentParameter& value) { m_documentParameters.push_back(value); return *this; }
117 inline DescribeManagedJobTemplateResult& AddDocumentParameters(DocumentParameter&& value) { m_documentParameters.push_back(std::move(value)); return *this; }
119
121
124 inline const Aws::String& GetDocument() const{ return m_document; }
125 inline void SetDocument(const Aws::String& value) { m_document = value; }
126 inline void SetDocument(Aws::String&& value) { m_document = std::move(value); }
127 inline void SetDocument(const char* value) { m_document.assign(value); }
128 inline DescribeManagedJobTemplateResult& WithDocument(const Aws::String& value) { SetDocument(value); return *this;}
129 inline DescribeManagedJobTemplateResult& WithDocument(Aws::String&& value) { SetDocument(std::move(value)); return *this;}
130 inline DescribeManagedJobTemplateResult& WithDocument(const char* value) { SetDocument(value); return *this;}
132
134
135 inline const Aws::String& GetRequestId() const{ return m_requestId; }
136 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
137 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
138 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
139 inline DescribeManagedJobTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
140 inline DescribeManagedJobTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
141 inline DescribeManagedJobTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
143 private:
144
145 Aws::String m_templateName;
146
147 Aws::String m_templateArn;
148
149 Aws::String m_description;
150
151 Aws::String m_templateVersion;
152
153 Aws::Vector<Aws::String> m_environments;
154
155 Aws::Vector<DocumentParameter> m_documentParameters;
156
157 Aws::String m_document;
158
159 Aws::String m_requestId;
160 };
161
162} // namespace Model
163} // namespace IoT
164} // namespace Aws
DescribeManagedJobTemplateResult & WithEnvironments(Aws::Vector< Aws::String > &&value)
DescribeManagedJobTemplateResult & WithDocumentParameters(Aws::Vector< DocumentParameter > &&value)
DescribeManagedJobTemplateResult & AddDocumentParameters(const DocumentParameter &value)
AWS_IOT_API DescribeManagedJobTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeManagedJobTemplateResult & AddDocumentParameters(DocumentParameter &&value)
DescribeManagedJobTemplateResult & WithRequestId(const Aws::String &value)
DescribeManagedJobTemplateResult & AddEnvironments(const char *value)
DescribeManagedJobTemplateResult & AddEnvironments(const Aws::String &value)
DescribeManagedJobTemplateResult & WithDocument(Aws::String &&value)
DescribeManagedJobTemplateResult & WithDocument(const Aws::String &value)
DescribeManagedJobTemplateResult & AddEnvironments(Aws::String &&value)
DescribeManagedJobTemplateResult & WithDocumentParameters(const Aws::Vector< DocumentParameter > &value)
DescribeManagedJobTemplateResult & WithTemplateArn(Aws::String &&value)
DescribeManagedJobTemplateResult & WithRequestId(Aws::String &&value)
DescribeManagedJobTemplateResult & WithTemplateVersion(const char *value)
const Aws::Vector< Aws::String > & GetEnvironments() const
DescribeManagedJobTemplateResult & WithRequestId(const char *value)
DescribeManagedJobTemplateResult & WithTemplateVersion(const Aws::String &value)
DescribeManagedJobTemplateResult & WithDescription(const Aws::String &value)
void SetEnvironments(const Aws::Vector< Aws::String > &value)
AWS_IOT_API DescribeManagedJobTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeManagedJobTemplateResult & WithTemplateArn(const Aws::String &value)
const Aws::Vector< DocumentParameter > & GetDocumentParameters() const
DescribeManagedJobTemplateResult & WithTemplateArn(const char *value)
DescribeManagedJobTemplateResult & WithEnvironments(const Aws::Vector< Aws::String > &value)
void SetDocumentParameters(Aws::Vector< DocumentParameter > &&value)
DescribeManagedJobTemplateResult & WithDescription(Aws::String &&value)
void SetDocumentParameters(const Aws::Vector< DocumentParameter > &value)
DescribeManagedJobTemplateResult & WithTemplateName(const char *value)
DescribeManagedJobTemplateResult & WithDescription(const char *value)
DescribeManagedJobTemplateResult & WithTemplateName(Aws::String &&value)
DescribeManagedJobTemplateResult & WithTemplateVersion(Aws::String &&value)
DescribeManagedJobTemplateResult & WithDocument(const char *value)
DescribeManagedJobTemplateResult & WithTemplateName(const 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