AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
41 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
42 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
43 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
45 inline CreateCloudFormationTemplateResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
46 inline CreateCloudFormationTemplateResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
48
50
53 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
54 inline void SetCreationTime(const Aws::String& value) { m_creationTime = value; }
55 inline void SetCreationTime(Aws::String&& value) { m_creationTime = std::move(value); }
56 inline void SetCreationTime(const char* value) { m_creationTime.assign(value); }
58 inline CreateCloudFormationTemplateResult& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
59 inline CreateCloudFormationTemplateResult& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
61
63
68 inline const Aws::String& GetExpirationTime() const{ return m_expirationTime; }
69 inline void SetExpirationTime(const Aws::String& value) { m_expirationTime = value; }
70 inline void SetExpirationTime(Aws::String&& value) { m_expirationTime = std::move(value); }
71 inline void SetExpirationTime(const char* value) { m_expirationTime.assign(value); }
73 inline CreateCloudFormationTemplateResult& WithExpirationTime(Aws::String&& value) { SetExpirationTime(std::move(value)); return *this;}
74 inline CreateCloudFormationTemplateResult& WithExpirationTime(const char* value) { SetExpirationTime(value); return *this;}
76
78
84 inline const Aws::String& GetSemanticVersion() const{ return m_semanticVersion; }
85 inline void SetSemanticVersion(const Aws::String& value) { m_semanticVersion = value; }
86 inline void SetSemanticVersion(Aws::String&& value) { m_semanticVersion = std::move(value); }
87 inline void SetSemanticVersion(const char* value) { m_semanticVersion.assign(value); }
89 inline CreateCloudFormationTemplateResult& WithSemanticVersion(Aws::String&& value) { SetSemanticVersion(std::move(value)); return *this;}
90 inline CreateCloudFormationTemplateResult& WithSemanticVersion(const char* value) { SetSemanticVersion(value); return *this;}
92
94
99 inline const Status& GetStatus() const{ return m_status; }
100 inline void SetStatus(const Status& value) { m_status = value; }
101 inline void SetStatus(Status&& value) { m_status = std::move(value); }
102 inline CreateCloudFormationTemplateResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
103 inline CreateCloudFormationTemplateResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
105
107
111 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
112 inline void SetTemplateId(const Aws::String& value) { m_templateId = value; }
113 inline void SetTemplateId(Aws::String&& value) { m_templateId = std::move(value); }
114 inline void SetTemplateId(const char* value) { m_templateId.assign(value); }
115 inline CreateCloudFormationTemplateResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
116 inline CreateCloudFormationTemplateResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
117 inline CreateCloudFormationTemplateResult& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
119
121
126 inline const Aws::String& GetTemplateUrl() const{ return m_templateUrl; }
127 inline void SetTemplateUrl(const Aws::String& value) { m_templateUrl = value; }
128 inline void SetTemplateUrl(Aws::String&& value) { m_templateUrl = std::move(value); }
129 inline void SetTemplateUrl(const char* value) { m_templateUrl.assign(value); }
131 inline CreateCloudFormationTemplateResult& WithTemplateUrl(Aws::String&& value) { SetTemplateUrl(std::move(value)); return *this;}
132 inline CreateCloudFormationTemplateResult& WithTemplateUrl(const char* value) { SetTemplateUrl(value); return *this;}
134
136
137 inline const Aws::String& GetRequestId() const{ return m_requestId; }
138 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
139 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
140 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
141 inline CreateCloudFormationTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
142 inline CreateCloudFormationTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
143 inline CreateCloudFormationTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
145 private:
146
147 Aws::String m_applicationId;
148
149 Aws::String m_creationTime;
150
151 Aws::String m_expirationTime;
152
153 Aws::String m_semanticVersion;
154
155 Status m_status;
156
157 Aws::String m_templateId;
158
159 Aws::String m_templateUrl;
160
161 Aws::String m_requestId;
162 };
163
164} // namespace Model
165} // namespace ServerlessApplicationRepository
166} // namespace Aws
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateCloudFormationTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCloudFormationTemplateResult & WithSemanticVersion(const Aws::String &value)
CreateCloudFormationTemplateResult & WithExpirationTime(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API CreateCloudFormationTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue