AWS SDK for C++

AWS SDK for C++ Version 1.11.754

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