AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Amplify
24{
25namespace Model
26{
34 {
35 public:
36 AWS_AMPLIFY_API GetArtifactUrlResult() = default;
39
40
42
45 inline const Aws::String& GetArtifactId() const { return m_artifactId; }
46 template<typename ArtifactIdT = Aws::String>
47 void SetArtifactId(ArtifactIdT&& value) { m_artifactIdHasBeenSet = true; m_artifactId = std::forward<ArtifactIdT>(value); }
48 template<typename ArtifactIdT = Aws::String>
49 GetArtifactUrlResult& WithArtifactId(ArtifactIdT&& value) { SetArtifactId(std::forward<ArtifactIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetArtifactUrl() const { return m_artifactUrl; }
57 template<typename ArtifactUrlT = Aws::String>
58 void SetArtifactUrl(ArtifactUrlT&& value) { m_artifactUrlHasBeenSet = true; m_artifactUrl = std::forward<ArtifactUrlT>(value); }
59 template<typename ArtifactUrlT = Aws::String>
60 GetArtifactUrlResult& WithArtifactUrl(ArtifactUrlT&& value) { SetArtifactUrl(std::forward<ArtifactUrlT>(value)); return *this;}
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template<typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
68 template<typename RequestIdT = Aws::String>
69 GetArtifactUrlResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
71 private:
72
73 Aws::String m_artifactId;
74 bool m_artifactIdHasBeenSet = false;
75
76 Aws::String m_artifactUrl;
77 bool m_artifactUrlHasBeenSet = false;
78
79 Aws::String m_requestId;
80 bool m_requestIdHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Amplify
85} // 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