AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
GetActivationCredentialsResult.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/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace BackupExternal {
24namespace Model {
26 public:
27 AWS_BACKUPEXTERNAL_API GetActivationCredentialsResult() = default;
30
32
37 inline const Aws::String& GetImage() const { return m_image; }
38 template <typename ImageT = Aws::String>
39 void SetImage(ImageT&& value) {
40 m_imageHasBeenSet = true;
41 m_image = std::forward<ImageT>(value);
42 }
43 template <typename ImageT = Aws::String>
45 SetImage(std::forward<ImageT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetAwsOvaImageRootCertificateDownloadUrl() const { return m_awsOvaImageRootCertificateDownloadUrl; }
56 template <typename AwsOvaImageRootCertificateDownloadUrlT = Aws::String>
57 void SetAwsOvaImageRootCertificateDownloadUrl(AwsOvaImageRootCertificateDownloadUrlT&& value) {
58 m_awsOvaImageRootCertificateDownloadUrlHasBeenSet = true;
59 m_awsOvaImageRootCertificateDownloadUrl = std::forward<AwsOvaImageRootCertificateDownloadUrlT>(value);
60 }
61 template <typename AwsOvaImageRootCertificateDownloadUrlT = Aws::String>
62 GetActivationCredentialsResult& WithAwsOvaImageRootCertificateDownloadUrl(AwsOvaImageRootCertificateDownloadUrlT&& value) {
63 SetAwsOvaImageRootCertificateDownloadUrl(std::forward<AwsOvaImageRootCertificateDownloadUrlT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::Utils::DateTime& GetActivationTokenExpiresAt() const { return m_activationTokenExpiresAt; }
73 template <typename ActivationTokenExpiresAtT = Aws::Utils::DateTime>
74 void SetActivationTokenExpiresAt(ActivationTokenExpiresAtT&& value) {
75 m_activationTokenExpiresAtHasBeenSet = true;
76 m_activationTokenExpiresAt = std::forward<ActivationTokenExpiresAtT>(value);
77 }
78 template <typename ActivationTokenExpiresAtT = Aws::Utils::DateTime>
80 SetActivationTokenExpiresAt(std::forward<ActivationTokenExpiresAtT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetActivationToken() const { return m_activationToken; }
90 template <typename ActivationTokenT = Aws::String>
91 void SetActivationToken(ActivationTokenT&& value) {
92 m_activationTokenHasBeenSet = true;
93 m_activationToken = std::forward<ActivationTokenT>(value);
94 }
95 template <typename ActivationTokenT = Aws::String>
97 SetActivationToken(std::forward<ActivationTokenT>(value));
98 return *this;
99 }
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template <typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) {
107 m_requestIdHasBeenSet = true;
108 m_requestId = std::forward<RequestIdT>(value);
109 }
110 template <typename RequestIdT = Aws::String>
112 SetRequestId(std::forward<RequestIdT>(value));
113 return *this;
114 }
116 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
117
118 private:
119 Aws::String m_image;
120
121 Aws::String m_awsOvaImageRootCertificateDownloadUrl;
122
123 Aws::Utils::DateTime m_activationTokenExpiresAt{};
124
125 Aws::String m_activationToken;
126
127 Aws::String m_requestId;
128 Aws::Http::HttpResponseCode m_HttpResponseCode;
129 bool m_imageHasBeenSet = false;
130 bool m_awsOvaImageRootCertificateDownloadUrlHasBeenSet = false;
131 bool m_activationTokenExpiresAtHasBeenSet = false;
132 bool m_activationTokenHasBeenSet = false;
133 bool m_requestIdHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace BackupExternal
138} // namespace Aws
GetActivationCredentialsResult & WithRequestId(RequestIdT &&value)
GetActivationCredentialsResult & WithAwsOvaImageRootCertificateDownloadUrl(AwsOvaImageRootCertificateDownloadUrlT &&value)
void SetAwsOvaImageRootCertificateDownloadUrl(AwsOvaImageRootCertificateDownloadUrlT &&value)
AWS_BACKUPEXTERNAL_API GetActivationCredentialsResult()=default
AWS_BACKUPEXTERNAL_API GetActivationCredentialsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetActivationCredentialsResult & WithActivationTokenExpiresAt(ActivationTokenExpiresAtT &&value)
GetActivationCredentialsResult & WithActivationToken(ActivationTokenT &&value)
AWS_BACKUPEXTERNAL_API GetActivationCredentialsResult(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