AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDeploymentResult.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.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 Amplify
25{
26namespace Model
27{
35 {
36 public:
37 AWS_AMPLIFY_API CreateDeploymentResult();
40
41
43
46 inline const Aws::String& GetJobId() const{ return m_jobId; }
47 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
48 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
49 inline void SetJobId(const char* value) { m_jobId.assign(value); }
50 inline CreateDeploymentResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
51 inline CreateDeploymentResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
52 inline CreateDeploymentResult& WithJobId(const char* value) { SetJobId(value); return *this;}
54
56
61 inline const Aws::Map<Aws::String, Aws::String>& GetFileUploadUrls() const{ return m_fileUploadUrls; }
62 inline void SetFileUploadUrls(const Aws::Map<Aws::String, Aws::String>& value) { m_fileUploadUrls = value; }
63 inline void SetFileUploadUrls(Aws::Map<Aws::String, Aws::String>&& value) { m_fileUploadUrls = std::move(value); }
66 inline CreateDeploymentResult& AddFileUploadUrls(const Aws::String& key, const Aws::String& value) { m_fileUploadUrls.emplace(key, value); return *this; }
67 inline CreateDeploymentResult& AddFileUploadUrls(Aws::String&& key, const Aws::String& value) { m_fileUploadUrls.emplace(std::move(key), value); return *this; }
68 inline CreateDeploymentResult& AddFileUploadUrls(const Aws::String& key, Aws::String&& value) { m_fileUploadUrls.emplace(key, std::move(value)); return *this; }
69 inline CreateDeploymentResult& AddFileUploadUrls(Aws::String&& key, Aws::String&& value) { m_fileUploadUrls.emplace(std::move(key), std::move(value)); return *this; }
70 inline CreateDeploymentResult& AddFileUploadUrls(const char* key, Aws::String&& value) { m_fileUploadUrls.emplace(key, std::move(value)); return *this; }
71 inline CreateDeploymentResult& AddFileUploadUrls(Aws::String&& key, const char* value) { m_fileUploadUrls.emplace(std::move(key), value); return *this; }
72 inline CreateDeploymentResult& AddFileUploadUrls(const char* key, const char* value) { m_fileUploadUrls.emplace(key, value); return *this; }
74
76
80 inline const Aws::String& GetZipUploadUrl() const{ return m_zipUploadUrl; }
81 inline void SetZipUploadUrl(const Aws::String& value) { m_zipUploadUrl = value; }
82 inline void SetZipUploadUrl(Aws::String&& value) { m_zipUploadUrl = std::move(value); }
83 inline void SetZipUploadUrl(const char* value) { m_zipUploadUrl.assign(value); }
84 inline CreateDeploymentResult& WithZipUploadUrl(const Aws::String& value) { SetZipUploadUrl(value); return *this;}
85 inline CreateDeploymentResult& WithZipUploadUrl(Aws::String&& value) { SetZipUploadUrl(std::move(value)); return *this;}
86 inline CreateDeploymentResult& WithZipUploadUrl(const char* value) { SetZipUploadUrl(value); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline CreateDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline CreateDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline CreateDeploymentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
101 Aws::String m_jobId;
102
103 Aws::Map<Aws::String, Aws::String> m_fileUploadUrls;
104
105 Aws::String m_zipUploadUrl;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace Amplify
112} // namespace Aws
AWS_AMPLIFY_API CreateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetFileUploadUrls() const
CreateDeploymentResult & WithJobId(const char *value)
CreateDeploymentResult & WithZipUploadUrl(const char *value)
CreateDeploymentResult & AddFileUploadUrls(const Aws::String &key, Aws::String &&value)
CreateDeploymentResult & WithJobId(Aws::String &&value)
CreateDeploymentResult & WithZipUploadUrl(Aws::String &&value)
CreateDeploymentResult & WithFileUploadUrls(const Aws::Map< Aws::String, Aws::String > &value)
CreateDeploymentResult & WithFileUploadUrls(Aws::Map< Aws::String, Aws::String > &&value)
CreateDeploymentResult & AddFileUploadUrls(Aws::String &&key, Aws::String &&value)
CreateDeploymentResult & WithJobId(const Aws::String &value)
CreateDeploymentResult & AddFileUploadUrls(const Aws::String &key, const Aws::String &value)
void SetFileUploadUrls(const Aws::Map< Aws::String, Aws::String > &value)
CreateDeploymentResult & AddFileUploadUrls(Aws::String &&key, const Aws::String &value)
void SetFileUploadUrls(Aws::Map< Aws::String, Aws::String > &&value)
CreateDeploymentResult & AddFileUploadUrls(const char *key, Aws::String &&value)
AWS_AMPLIFY_API CreateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDeploymentResult & WithRequestId(Aws::String &&value)
CreateDeploymentResult & WithRequestId(const Aws::String &value)
CreateDeploymentResult & AddFileUploadUrls(const char *key, const char *value)
CreateDeploymentResult & WithRequestId(const char *value)
CreateDeploymentResult & AddFileUploadUrls(Aws::String &&key, const char *value)
CreateDeploymentResult & WithZipUploadUrl(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue