AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetArtifactUrlResult.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Amplify {
23namespace Model {
31 public:
32 AWS_AMPLIFY_API GetArtifactUrlResult() = default;
35
37
40 inline const Aws::String& GetArtifactId() const { return m_artifactId; }
41 template <typename ArtifactIdT = Aws::String>
42 void SetArtifactId(ArtifactIdT&& value) {
43 m_artifactIdHasBeenSet = true;
44 m_artifactId = std::forward<ArtifactIdT>(value);
45 }
46 template <typename ArtifactIdT = Aws::String>
47 GetArtifactUrlResult& WithArtifactId(ArtifactIdT&& value) {
48 SetArtifactId(std::forward<ArtifactIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetArtifactUrl() const { return m_artifactUrl; }
58 template <typename ArtifactUrlT = Aws::String>
59 void SetArtifactUrl(ArtifactUrlT&& value) {
60 m_artifactUrlHasBeenSet = true;
61 m_artifactUrl = std::forward<ArtifactUrlT>(value);
62 }
63 template <typename ArtifactUrlT = Aws::String>
64 GetArtifactUrlResult& WithArtifactUrl(ArtifactUrlT&& value) {
65 SetArtifactUrl(std::forward<ArtifactUrlT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
79 GetArtifactUrlResult& WithRequestId(RequestIdT&& value) {
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 Aws::String m_artifactId;
88
89 Aws::String m_artifactUrl;
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_artifactIdHasBeenSet = false;
94 bool m_artifactUrlHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Amplify
100} // namespace Aws
GetArtifactUrlResult & WithArtifactId(ArtifactIdT &&value)
GetArtifactUrlResult & WithRequestId(RequestIdT &&value)
GetArtifactUrlResult & WithArtifactUrl(ArtifactUrlT &&value)
AWS_AMPLIFY_API GetArtifactUrlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_AMPLIFY_API GetArtifactUrlResult()=default
AWS_AMPLIFY_API GetArtifactUrlResult(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