AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
GetAgentDownloadResult.h
1
6#pragma once
7#include <aws/backup-external/BackupExternal_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 BackupExternal {
23namespace Model {
25 public:
26 AWS_BACKUPEXTERNAL_API GetAgentDownloadResult() = default;
29
31
34 inline const Aws::String& GetAgentDownloadUrl() const { return m_agentDownloadUrl; }
35 template <typename AgentDownloadUrlT = Aws::String>
36 void SetAgentDownloadUrl(AgentDownloadUrlT&& value) {
37 m_agentDownloadUrlHasBeenSet = true;
38 m_agentDownloadUrl = std::forward<AgentDownloadUrlT>(value);
39 }
40 template <typename AgentDownloadUrlT = Aws::String>
41 GetAgentDownloadResult& WithAgentDownloadUrl(AgentDownloadUrlT&& value) {
42 SetAgentDownloadUrl(std::forward<AgentDownloadUrlT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
52 template <typename AgentVersionT = Aws::String>
53 void SetAgentVersion(AgentVersionT&& value) {
54 m_agentVersionHasBeenSet = true;
55 m_agentVersion = std::forward<AgentVersionT>(value);
56 }
57 template <typename AgentVersionT = Aws::String>
58 GetAgentDownloadResult& WithAgentVersion(AgentVersionT&& value) {
59 SetAgentVersion(std::forward<AgentVersionT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetSigningCertificateDownloadUrl() const { return m_signingCertificateDownloadUrl; }
69 template <typename SigningCertificateDownloadUrlT = Aws::String>
70 void SetSigningCertificateDownloadUrl(SigningCertificateDownloadUrlT&& value) {
71 m_signingCertificateDownloadUrlHasBeenSet = true;
72 m_signingCertificateDownloadUrl = std::forward<SigningCertificateDownloadUrlT>(value);
73 }
74 template <typename SigningCertificateDownloadUrlT = Aws::String>
75 GetAgentDownloadResult& WithSigningCertificateDownloadUrl(SigningCertificateDownloadUrlT&& value) {
76 SetSigningCertificateDownloadUrl(std::forward<SigningCertificateDownloadUrlT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::String& GetAgentCertificateBundleDownloadUrl() const { return m_agentCertificateBundleDownloadUrl; }
87 template <typename AgentCertificateBundleDownloadUrlT = Aws::String>
88 void SetAgentCertificateBundleDownloadUrl(AgentCertificateBundleDownloadUrlT&& value) {
89 m_agentCertificateBundleDownloadUrlHasBeenSet = true;
90 m_agentCertificateBundleDownloadUrl = std::forward<AgentCertificateBundleDownloadUrlT>(value);
91 }
92 template <typename AgentCertificateBundleDownloadUrlT = Aws::String>
93 GetAgentDownloadResult& WithAgentCertificateBundleDownloadUrl(AgentCertificateBundleDownloadUrlT&& value) {
94 SetAgentCertificateBundleDownloadUrl(std::forward<AgentCertificateBundleDownloadUrlT>(value));
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
114
115 private:
116 Aws::String m_agentDownloadUrl;
117
118 Aws::String m_agentVersion;
119
120 Aws::String m_signingCertificateDownloadUrl;
121
122 Aws::String m_agentCertificateBundleDownloadUrl;
123
124 Aws::String m_requestId;
125 Aws::Http::HttpResponseCode m_HttpResponseCode;
126 bool m_agentDownloadUrlHasBeenSet = false;
127 bool m_agentVersionHasBeenSet = false;
128 bool m_signingCertificateDownloadUrlHasBeenSet = false;
129 bool m_agentCertificateBundleDownloadUrlHasBeenSet = false;
130 bool m_requestIdHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace BackupExternal
135} // namespace Aws
GetAgentDownloadResult & WithRequestId(RequestIdT &&value)
GetAgentDownloadResult & WithSigningCertificateDownloadUrl(SigningCertificateDownloadUrlT &&value)
GetAgentDownloadResult & WithAgentCertificateBundleDownloadUrl(AgentCertificateBundleDownloadUrlT &&value)
AWS_BACKUPEXTERNAL_API GetAgentDownloadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetAgentDownloadResult & WithAgentVersion(AgentVersionT &&value)
AWS_BACKUPEXTERNAL_API GetAgentDownloadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSigningCertificateDownloadUrl(SigningCertificateDownloadUrlT &&value)
void SetAgentCertificateBundleDownloadUrl(AgentCertificateBundleDownloadUrlT &&value)
AWS_BACKUPEXTERNAL_API GetAgentDownloadResult()=default
GetAgentDownloadResult & WithAgentDownloadUrl(AgentDownloadUrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue