AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
32 AWS_IOT_API DescribeManagedJobTemplateResult() = default;
35
36
38
41 inline const Aws::String& GetTemplateName() const { return m_templateName; }
42 template<typename TemplateNameT = Aws::String>
43 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
44 template<typename TemplateNameT = Aws::String>
45 DescribeManagedJobTemplateResult& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetTemplateArn() const { return m_templateArn; }
53 template<typename TemplateArnT = Aws::String>
54 void SetTemplateArn(TemplateArnT&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::forward<TemplateArnT>(value); }
55 template<typename TemplateArnT = Aws::String>
56 DescribeManagedJobTemplateResult& WithTemplateArn(TemplateArnT&& value) { SetTemplateArn(std::forward<TemplateArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 template<typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
66 template<typename DescriptionT = Aws::String>
67 DescribeManagedJobTemplateResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
69
71
74 inline const Aws::String& GetTemplateVersion() const { return m_templateVersion; }
75 template<typename TemplateVersionT = Aws::String>
76 void SetTemplateVersion(TemplateVersionT&& value) { m_templateVersionHasBeenSet = true; m_templateVersion = std::forward<TemplateVersionT>(value); }
77 template<typename TemplateVersionT = Aws::String>
78 DescribeManagedJobTemplateResult& WithTemplateVersion(TemplateVersionT&& value) { SetTemplateVersion(std::forward<TemplateVersionT>(value)); return *this;}
80
82
85 inline const Aws::Vector<Aws::String>& GetEnvironments() const { return m_environments; }
86 template<typename EnvironmentsT = Aws::Vector<Aws::String>>
87 void SetEnvironments(EnvironmentsT&& value) { m_environmentsHasBeenSet = true; m_environments = std::forward<EnvironmentsT>(value); }
88 template<typename EnvironmentsT = Aws::Vector<Aws::String>>
89 DescribeManagedJobTemplateResult& WithEnvironments(EnvironmentsT&& value) { SetEnvironments(std::forward<EnvironmentsT>(value)); return *this;}
90 template<typename EnvironmentsT = Aws::String>
91 DescribeManagedJobTemplateResult& AddEnvironments(EnvironmentsT&& value) { m_environmentsHasBeenSet = true; m_environments.emplace_back(std::forward<EnvironmentsT>(value)); return *this; }
93
95
102 inline const Aws::Vector<DocumentParameter>& GetDocumentParameters() const { return m_documentParameters; }
103 template<typename DocumentParametersT = Aws::Vector<DocumentParameter>>
104 void SetDocumentParameters(DocumentParametersT&& value) { m_documentParametersHasBeenSet = true; m_documentParameters = std::forward<DocumentParametersT>(value); }
105 template<typename DocumentParametersT = Aws::Vector<DocumentParameter>>
106 DescribeManagedJobTemplateResult& WithDocumentParameters(DocumentParametersT&& value) { SetDocumentParameters(std::forward<DocumentParametersT>(value)); return *this;}
107 template<typename DocumentParametersT = DocumentParameter>
108 DescribeManagedJobTemplateResult& AddDocumentParameters(DocumentParametersT&& value) { m_documentParametersHasBeenSet = true; m_documentParameters.emplace_back(std::forward<DocumentParametersT>(value)); return *this; }
110
112
115 inline const Aws::String& GetDocument() const { return m_document; }
116 template<typename DocumentT = Aws::String>
117 void SetDocument(DocumentT&& value) { m_documentHasBeenSet = true; m_document = std::forward<DocumentT>(value); }
118 template<typename DocumentT = Aws::String>
119 DescribeManagedJobTemplateResult& WithDocument(DocumentT&& value) { SetDocument(std::forward<DocumentT>(value)); return *this;}
121
123
124 inline const Aws::String& GetRequestId() const { return m_requestId; }
125 template<typename RequestIdT = Aws::String>
126 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
127 template<typename RequestIdT = Aws::String>
128 DescribeManagedJobTemplateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
130 private:
131
132 Aws::String m_templateName;
133 bool m_templateNameHasBeenSet = false;
134
135 Aws::String m_templateArn;
136 bool m_templateArnHasBeenSet = false;
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
141 Aws::String m_templateVersion;
142 bool m_templateVersionHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_environments;
145 bool m_environmentsHasBeenSet = false;
146
147 Aws::Vector<DocumentParameter> m_documentParameters;
148 bool m_documentParametersHasBeenSet = false;
149
150 Aws::String m_document;
151 bool m_documentHasBeenSet = false;
152
153 Aws::String m_requestId;
154 bool m_requestIdHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace IoT
159} // namespace Aws
DescribeManagedJobTemplateResult & WithTemplateVersion(TemplateVersionT &&value)
AWS_IOT_API DescribeManagedJobTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeManagedJobTemplateResult & AddDocumentParameters(DocumentParametersT &&value)
DescribeManagedJobTemplateResult & WithRequestId(RequestIdT &&value)
DescribeManagedJobTemplateResult & WithEnvironments(EnvironmentsT &&value)
DescribeManagedJobTemplateResult & WithDocument(DocumentT &&value)
DescribeManagedJobTemplateResult & WithTemplateArn(TemplateArnT &&value)
const Aws::Vector< Aws::String > & GetEnvironments() const
AWS_IOT_API DescribeManagedJobTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< DocumentParameter > & GetDocumentParameters() const
DescribeManagedJobTemplateResult & WithTemplateName(TemplateNameT &&value)
DescribeManagedJobTemplateResult & WithDescription(DescriptionT &&value)
DescribeManagedJobTemplateResult & WithDocumentParameters(DocumentParametersT &&value)
DescribeManagedJobTemplateResult & AddEnvironments(EnvironmentsT &&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