AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateCloudFormationTemplateResult.h
1
6#pragma once
7#include <aws/serverlessrepo/ServerlessApplicationRepository_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/serverlessrepo/model/Status.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ServerlessApplicationRepository
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateCloudFormationTemplateResult() = default;
34
35
37
40 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
41 template<typename ApplicationIdT = Aws::String>
42 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
43 template<typename ApplicationIdT = Aws::String>
44 CreateCloudFormationTemplateResult& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
52 template<typename CreationTimeT = Aws::String>
53 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
54 template<typename CreationTimeT = Aws::String>
55 CreateCloudFormationTemplateResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
57
59
64 inline const Aws::String& GetExpirationTime() const { return m_expirationTime; }
65 template<typename ExpirationTimeT = Aws::String>
66 void SetExpirationTime(ExpirationTimeT&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::forward<ExpirationTimeT>(value); }
67 template<typename ExpirationTimeT = Aws::String>
68 CreateCloudFormationTemplateResult& WithExpirationTime(ExpirationTimeT&& value) { SetExpirationTime(std::forward<ExpirationTimeT>(value)); return *this;}
70
72
78 inline const Aws::String& GetSemanticVersion() const { return m_semanticVersion; }
79 template<typename SemanticVersionT = Aws::String>
80 void SetSemanticVersion(SemanticVersionT&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::forward<SemanticVersionT>(value); }
81 template<typename SemanticVersionT = Aws::String>
82 CreateCloudFormationTemplateResult& WithSemanticVersion(SemanticVersionT&& value) { SetSemanticVersion(std::forward<SemanticVersionT>(value)); return *this;}
84
86
91 inline Status GetStatus() const { return m_status; }
92 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
93 inline CreateCloudFormationTemplateResult& WithStatus(Status value) { SetStatus(value); return *this;}
95
97
101 inline const Aws::String& GetTemplateId() const { return m_templateId; }
102 template<typename TemplateIdT = Aws::String>
103 void SetTemplateId(TemplateIdT&& value) { m_templateIdHasBeenSet = true; m_templateId = std::forward<TemplateIdT>(value); }
104 template<typename TemplateIdT = Aws::String>
105 CreateCloudFormationTemplateResult& WithTemplateId(TemplateIdT&& value) { SetTemplateId(std::forward<TemplateIdT>(value)); return *this;}
107
109
114 inline const Aws::String& GetTemplateUrl() const { return m_templateUrl; }
115 template<typename TemplateUrlT = Aws::String>
116 void SetTemplateUrl(TemplateUrlT&& value) { m_templateUrlHasBeenSet = true; m_templateUrl = std::forward<TemplateUrlT>(value); }
117 template<typename TemplateUrlT = Aws::String>
118 CreateCloudFormationTemplateResult& WithTemplateUrl(TemplateUrlT&& value) { SetTemplateUrl(std::forward<TemplateUrlT>(value)); return *this;}
120
122
123 inline const Aws::String& GetRequestId() const { return m_requestId; }
124 template<typename RequestIdT = Aws::String>
125 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
126 template<typename RequestIdT = Aws::String>
127 CreateCloudFormationTemplateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
129 private:
130
131 Aws::String m_applicationId;
132 bool m_applicationIdHasBeenSet = false;
133
134 Aws::String m_creationTime;
135 bool m_creationTimeHasBeenSet = false;
136
137 Aws::String m_expirationTime;
138 bool m_expirationTimeHasBeenSet = false;
139
140 Aws::String m_semanticVersion;
141 bool m_semanticVersionHasBeenSet = false;
142
143 Status m_status{Status::NOT_SET};
144 bool m_statusHasBeenSet = false;
145
146 Aws::String m_templateId;
147 bool m_templateIdHasBeenSet = false;
148
149 Aws::String m_templateUrl;
150 bool m_templateUrlHasBeenSet = false;
151
152 Aws::String m_requestId;
153 bool m_requestIdHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace ServerlessApplicationRepository
158} // namespace Aws
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateCloudFormationTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateCloudFormationTemplateResult()=default
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateCloudFormationTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCloudFormationTemplateResult & WithSemanticVersion(SemanticVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue