AWS SDK for C++  1.9.157
AWS SDK for C++
GetArtifactUrlResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Amplify
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetArtifactId() const{ return m_artifactId; }
45 
49  inline void SetArtifactId(const Aws::String& value) { m_artifactId = value; }
50 
54  inline void SetArtifactId(Aws::String&& value) { m_artifactId = std::move(value); }
55 
59  inline void SetArtifactId(const char* value) { m_artifactId.assign(value); }
60 
64  inline GetArtifactUrlResult& WithArtifactId(const Aws::String& value) { SetArtifactId(value); return *this;}
65 
69  inline GetArtifactUrlResult& WithArtifactId(Aws::String&& value) { SetArtifactId(std::move(value)); return *this;}
70 
74  inline GetArtifactUrlResult& WithArtifactId(const char* value) { SetArtifactId(value); return *this;}
75 
76 
80  inline const Aws::String& GetArtifactUrl() const{ return m_artifactUrl; }
81 
85  inline void SetArtifactUrl(const Aws::String& value) { m_artifactUrl = value; }
86 
90  inline void SetArtifactUrl(Aws::String&& value) { m_artifactUrl = std::move(value); }
91 
95  inline void SetArtifactUrl(const char* value) { m_artifactUrl.assign(value); }
96 
100  inline GetArtifactUrlResult& WithArtifactUrl(const Aws::String& value) { SetArtifactUrl(value); return *this;}
101 
105  inline GetArtifactUrlResult& WithArtifactUrl(Aws::String&& value) { SetArtifactUrl(std::move(value)); return *this;}
106 
110  inline GetArtifactUrlResult& WithArtifactUrl(const char* value) { SetArtifactUrl(value); return *this;}
111 
112  private:
113 
114  Aws::String m_artifactId;
115 
116  Aws::String m_artifactUrl;
117  };
118 
119 } // namespace Model
120 } // namespace Amplify
121 } // namespace Aws
Amplify_EXPORTS.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Amplify::Model::GetArtifactUrlResult::SetArtifactUrl
void SetArtifactUrl(const char *value)
Definition: GetArtifactUrlResult.h:95
Aws::Amplify::Model::GetArtifactUrlResult::WithArtifactUrl
GetArtifactUrlResult & WithArtifactUrl(const Aws::String &value)
Definition: GetArtifactUrlResult.h:100
Aws::Amplify::Model::GetArtifactUrlResult::GetArtifactId
const Aws::String & GetArtifactId() const
Definition: GetArtifactUrlResult.h:44
Aws::Amplify::Model::GetArtifactUrlResult::WithArtifactId
GetArtifactUrlResult & WithArtifactId(Aws::String &&value)
Definition: GetArtifactUrlResult.h:69
Aws::Amplify::Model::GetArtifactUrlResult::SetArtifactId
void SetArtifactId(const Aws::String &value)
Definition: GetArtifactUrlResult.h:49
Aws::Amplify::Model::GetArtifactUrlResult::WithArtifactId
GetArtifactUrlResult & WithArtifactId(const char *value)
Definition: GetArtifactUrlResult.h:74
Aws::Amplify::Model::GetArtifactUrlResult::SetArtifactUrl
void SetArtifactUrl(const Aws::String &value)
Definition: GetArtifactUrlResult.h:85
Aws::Amplify::Model::GetArtifactUrlResult::GetArtifactUrl
const Aws::String & GetArtifactUrl() const
Definition: GetArtifactUrlResult.h:80
Aws::Amplify::Model::GetArtifactUrlResult::WithArtifactUrl
GetArtifactUrlResult & WithArtifactUrl(Aws::String &&value)
Definition: GetArtifactUrlResult.h:105
Aws::Amplify::Model::GetArtifactUrlResult::SetArtifactId
void SetArtifactId(const char *value)
Definition: GetArtifactUrlResult.h:59
AWSString.h
Aws::Amplify::Model::GetArtifactUrlResult::WithArtifactUrl
GetArtifactUrlResult & WithArtifactUrl(const char *value)
Definition: GetArtifactUrlResult.h:110
Aws::Amplify::Model::GetArtifactUrlResult::GetArtifactUrlResult
GetArtifactUrlResult()
Aws::Amplify::Model::GetArtifactUrlResult::WithArtifactId
GetArtifactUrlResult & WithArtifactId(const Aws::String &value)
Definition: GetArtifactUrlResult.h:64
Aws::Amplify::Model::GetArtifactUrlResult::operator=
GetArtifactUrlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::GetArtifactUrlResult::SetArtifactId
void SetArtifactId(Aws::String &&value)
Definition: GetArtifactUrlResult.h:54
Aws::Amplify::Model::GetArtifactUrlResult::GetArtifactUrlResult
GetArtifactUrlResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::GetArtifactUrlResult
Definition: GetArtifactUrlResult.h:34
Aws::Amplify::Model::GetArtifactUrlResult::SetArtifactUrl
void SetArtifactUrl(Aws::String &&value)
Definition: GetArtifactUrlResult.h:90