AWS SDK for C++  1.9.157
AWS SDK for C++
CreateDeploymentResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Amplify
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetJobId() const{ return m_jobId; }
46 
50  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
51 
55  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
56 
60  inline void SetJobId(const char* value) { m_jobId.assign(value); }
61 
65  inline CreateDeploymentResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
66 
70  inline CreateDeploymentResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
71 
75  inline CreateDeploymentResult& WithJobId(const char* value) { SetJobId(value); return *this;}
76 
77 
83  inline const Aws::Map<Aws::String, Aws::String>& GetFileUploadUrls() const{ return m_fileUploadUrls; }
84 
90  inline void SetFileUploadUrls(const Aws::Map<Aws::String, Aws::String>& value) { m_fileUploadUrls = value; }
91 
97  inline void SetFileUploadUrls(Aws::Map<Aws::String, Aws::String>&& value) { m_fileUploadUrls = std::move(value); }
98 
104  inline CreateDeploymentResult& WithFileUploadUrls(const Aws::Map<Aws::String, Aws::String>& value) { SetFileUploadUrls(value); return *this;}
105 
111  inline CreateDeploymentResult& WithFileUploadUrls(Aws::Map<Aws::String, Aws::String>&& value) { SetFileUploadUrls(std::move(value)); return *this;}
112 
118  inline CreateDeploymentResult& AddFileUploadUrls(const Aws::String& key, const Aws::String& value) { m_fileUploadUrls.emplace(key, value); return *this; }
119 
125  inline CreateDeploymentResult& AddFileUploadUrls(Aws::String&& key, const Aws::String& value) { m_fileUploadUrls.emplace(std::move(key), value); return *this; }
126 
132  inline CreateDeploymentResult& AddFileUploadUrls(const Aws::String& key, Aws::String&& value) { m_fileUploadUrls.emplace(key, std::move(value)); return *this; }
133 
139  inline CreateDeploymentResult& AddFileUploadUrls(Aws::String&& key, Aws::String&& value) { m_fileUploadUrls.emplace(std::move(key), std::move(value)); return *this; }
140 
146  inline CreateDeploymentResult& AddFileUploadUrls(const char* key, Aws::String&& value) { m_fileUploadUrls.emplace(key, std::move(value)); return *this; }
147 
153  inline CreateDeploymentResult& AddFileUploadUrls(Aws::String&& key, const char* value) { m_fileUploadUrls.emplace(std::move(key), value); return *this; }
154 
160  inline CreateDeploymentResult& AddFileUploadUrls(const char* key, const char* value) { m_fileUploadUrls.emplace(key, value); return *this; }
161 
162 
167  inline const Aws::String& GetZipUploadUrl() const{ return m_zipUploadUrl; }
168 
173  inline void SetZipUploadUrl(const Aws::String& value) { m_zipUploadUrl = value; }
174 
179  inline void SetZipUploadUrl(Aws::String&& value) { m_zipUploadUrl = std::move(value); }
180 
185  inline void SetZipUploadUrl(const char* value) { m_zipUploadUrl.assign(value); }
186 
191  inline CreateDeploymentResult& WithZipUploadUrl(const Aws::String& value) { SetZipUploadUrl(value); return *this;}
192 
197  inline CreateDeploymentResult& WithZipUploadUrl(Aws::String&& value) { SetZipUploadUrl(std::move(value)); return *this;}
198 
203  inline CreateDeploymentResult& WithZipUploadUrl(const char* value) { SetZipUploadUrl(value); return *this;}
204 
205  private:
206 
207  Aws::String m_jobId;
208 
209  Aws::Map<Aws::String, Aws::String> m_fileUploadUrls;
210 
211  Aws::String m_zipUploadUrl;
212  };
213 
214 } // namespace Model
215 } // namespace Amplify
216 } // namespace Aws
Aws::Amplify::Model::CreateDeploymentResult::WithZipUploadUrl
CreateDeploymentResult & WithZipUploadUrl(const Aws::String &value)
Definition: CreateDeploymentResult.h:191
Amplify_EXPORTS.h
Aws::Amplify::Model::CreateDeploymentResult::CreateDeploymentResult
CreateDeploymentResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Amplify::Model::CreateDeploymentResult::AddFileUploadUrls
CreateDeploymentResult & AddFileUploadUrls(Aws::String &&key, const char *value)
Definition: CreateDeploymentResult.h:153
Aws::Amplify::Model::CreateDeploymentResult::SetZipUploadUrl
void SetZipUploadUrl(Aws::String &&value)
Definition: CreateDeploymentResult.h:179
Aws::Amplify::Model::CreateDeploymentResult::GetJobId
const Aws::String & GetJobId() const
Definition: CreateDeploymentResult.h:45
Aws::Amplify::Model::CreateDeploymentResult::AddFileUploadUrls
CreateDeploymentResult & AddFileUploadUrls(const char *key, Aws::String &&value)
Definition: CreateDeploymentResult.h:146
Aws::Amplify::Model::CreateDeploymentResult::SetFileUploadUrls
void SetFileUploadUrls(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDeploymentResult.h:90
Aws::Amplify::Model::CreateDeploymentResult::GetFileUploadUrls
const Aws::Map< Aws::String, Aws::String > & GetFileUploadUrls() const
Definition: CreateDeploymentResult.h:83
Aws::Amplify::Model::CreateDeploymentResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: CreateDeploymentResult.h:55
Aws::Amplify::Model::CreateDeploymentResult::WithZipUploadUrl
CreateDeploymentResult & WithZipUploadUrl(Aws::String &&value)
Definition: CreateDeploymentResult.h:197
Aws::Amplify::Model::CreateDeploymentResult::AddFileUploadUrls
CreateDeploymentResult & AddFileUploadUrls(const Aws::String &key, const Aws::String &value)
Definition: CreateDeploymentResult.h:118
Aws::Amplify::Model::CreateDeploymentResult::WithFileUploadUrls
CreateDeploymentResult & WithFileUploadUrls(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDeploymentResult.h:111
Aws::Amplify::Model::CreateDeploymentResult::SetJobId
void SetJobId(const char *value)
Definition: CreateDeploymentResult.h:60
Aws::Amplify::Model::CreateDeploymentResult
Definition: CreateDeploymentResult.h:35
Aws::Amplify::Model::CreateDeploymentResult::WithFileUploadUrls
CreateDeploymentResult & WithFileUploadUrls(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDeploymentResult.h:104
Aws::Amplify::Model::CreateDeploymentResult::WithZipUploadUrl
CreateDeploymentResult & WithZipUploadUrl(const char *value)
Definition: CreateDeploymentResult.h:203
Aws::Amplify::Model::CreateDeploymentResult::SetZipUploadUrl
void SetZipUploadUrl(const Aws::String &value)
Definition: CreateDeploymentResult.h:173
Aws::Amplify::Model::CreateDeploymentResult::AddFileUploadUrls
CreateDeploymentResult & AddFileUploadUrls(Aws::String &&key, Aws::String &&value)
Definition: CreateDeploymentResult.h:139
AWSString.h
Aws::Amplify::Model::CreateDeploymentResult::AddFileUploadUrls
CreateDeploymentResult & AddFileUploadUrls(Aws::String &&key, const Aws::String &value)
Definition: CreateDeploymentResult.h:125
Aws::Amplify::Model::CreateDeploymentResult::operator=
CreateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::CreateDeploymentResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: CreateDeploymentResult.h:50
Aws::Amplify::Model::CreateDeploymentResult::AddFileUploadUrls
CreateDeploymentResult & AddFileUploadUrls(const char *key, const char *value)
Definition: CreateDeploymentResult.h:160
Aws::Amplify::Model::CreateDeploymentResult::AddFileUploadUrls
CreateDeploymentResult & AddFileUploadUrls(const Aws::String &key, Aws::String &&value)
Definition: CreateDeploymentResult.h:132
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::CreateDeploymentResult::WithJobId
CreateDeploymentResult & WithJobId(const char *value)
Definition: CreateDeploymentResult.h:75
Aws::Amplify::Model::CreateDeploymentResult::SetZipUploadUrl
void SetZipUploadUrl(const char *value)
Definition: CreateDeploymentResult.h:185
Aws::Amplify::Model::CreateDeploymentResult::SetFileUploadUrls
void SetFileUploadUrls(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDeploymentResult.h:97
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::CreateDeploymentResult::WithJobId
CreateDeploymentResult & WithJobId(Aws::String &&value)
Definition: CreateDeploymentResult.h:70
Aws::Amplify::Model::CreateDeploymentResult::CreateDeploymentResult
CreateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSMap.h
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Amplify::Model::CreateDeploymentResult::GetZipUploadUrl
const Aws::String & GetZipUploadUrl() const
Definition: CreateDeploymentResult.h:167
Aws::Amplify::Model::CreateDeploymentResult::WithJobId
CreateDeploymentResult & WithJobId(const Aws::String &value)
Definition: CreateDeploymentResult.h:65