AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
DescribeKeyRegistrationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/QDataKey.h>
12#include <aws/quicksight/model/RegisteredCustomerManagedKey.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight {
26namespace Model {
28 public:
29 AWS_QUICKSIGHT_API DescribeKeyRegistrationResult() = default;
32
34
38 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
39 template <typename AwsAccountIdT = Aws::String>
40 void SetAwsAccountId(AwsAccountIdT&& value) {
41 m_awsAccountIdHasBeenSet = true;
42 m_awsAccountId = std::forward<AwsAccountIdT>(value);
43 }
44 template <typename AwsAccountIdT = Aws::String>
46 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::Vector<RegisteredCustomerManagedKey>& GetKeyRegistration() const { return m_keyRegistration; }
57 template <typename KeyRegistrationT = Aws::Vector<RegisteredCustomerManagedKey>>
58 void SetKeyRegistration(KeyRegistrationT&& value) {
59 m_keyRegistrationHasBeenSet = true;
60 m_keyRegistration = std::forward<KeyRegistrationT>(value);
61 }
62 template <typename KeyRegistrationT = Aws::Vector<RegisteredCustomerManagedKey>>
64 SetKeyRegistration(std::forward<KeyRegistrationT>(value));
65 return *this;
66 }
67 template <typename KeyRegistrationT = RegisteredCustomerManagedKey>
69 m_keyRegistrationHasBeenSet = true;
70 m_keyRegistration.emplace_back(std::forward<KeyRegistrationT>(value));
71 return *this;
72 }
74
76
79 inline const QDataKey& GetQDataKey() const { return m_qDataKey; }
80 template <typename QDataKeyT = QDataKey>
81 void SetQDataKey(QDataKeyT&& value) {
82 m_qDataKeyHasBeenSet = true;
83 m_qDataKey = std::forward<QDataKeyT>(value);
84 }
85 template <typename QDataKeyT = QDataKey>
87 SetQDataKey(std::forward<QDataKeyT>(value));
88 return *this;
89 }
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 template <typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) {
97 m_requestIdHasBeenSet = true;
98 m_requestId = std::forward<RequestIdT>(value);
99 }
100 template <typename RequestIdT = Aws::String>
102 SetRequestId(std::forward<RequestIdT>(value));
103 return *this;
104 }
106
108
111 inline int GetStatus() const { return m_status; }
112 inline void SetStatus(int value) {
113 m_statusHasBeenSet = true;
114 m_status = value;
115 }
117 SetStatus(value);
118 return *this;
119 }
121 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
122
123 private:
124 Aws::String m_awsAccountId;
125
127
128 QDataKey m_qDataKey;
129
130 Aws::String m_requestId;
131
132 int m_status{0};
133 Aws::Http::HttpResponseCode m_HttpResponseCode;
134 bool m_awsAccountIdHasBeenSet = false;
135 bool m_keyRegistrationHasBeenSet = false;
136 bool m_qDataKeyHasBeenSet = false;
137 bool m_requestIdHasBeenSet = false;
138 bool m_statusHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace QuickSight
143} // namespace Aws
AWS_QUICKSIGHT_API DescribeKeyRegistrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeKeyRegistrationResult & WithQDataKey(QDataKeyT &&value)
AWS_QUICKSIGHT_API DescribeKeyRegistrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< RegisteredCustomerManagedKey > & GetKeyRegistration() const
DescribeKeyRegistrationResult & WithKeyRegistration(KeyRegistrationT &&value)
DescribeKeyRegistrationResult & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API DescribeKeyRegistrationResult()=default
DescribeKeyRegistrationResult & WithRequestId(RequestIdT &&value)
DescribeKeyRegistrationResult & AddKeyRegistration(KeyRegistrationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue