AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ConnectorConfigResponse.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eks/EKS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EKS {
21namespace Model {
22
29 public:
30 AWS_EKS_API ConnectorConfigResponse() = default;
34
36
39 inline const Aws::String& GetActivationId() const { return m_activationId; }
40 inline bool ActivationIdHasBeenSet() const { return m_activationIdHasBeenSet; }
41 template <typename ActivationIdT = Aws::String>
42 void SetActivationId(ActivationIdT&& value) {
43 m_activationIdHasBeenSet = true;
44 m_activationId = std::forward<ActivationIdT>(value);
45 }
46 template <typename ActivationIdT = Aws::String>
47 ConnectorConfigResponse& WithActivationId(ActivationIdT&& value) {
48 SetActivationId(std::forward<ActivationIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetActivationCode() const { return m_activationCode; }
58 inline bool ActivationCodeHasBeenSet() const { return m_activationCodeHasBeenSet; }
59 template <typename ActivationCodeT = Aws::String>
60 void SetActivationCode(ActivationCodeT&& value) {
61 m_activationCodeHasBeenSet = true;
62 m_activationCode = std::forward<ActivationCodeT>(value);
63 }
64 template <typename ActivationCodeT = Aws::String>
65 ConnectorConfigResponse& WithActivationCode(ActivationCodeT&& value) {
66 SetActivationCode(std::forward<ActivationCodeT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::Utils::DateTime& GetActivationExpiry() const { return m_activationExpiry; }
77 inline bool ActivationExpiryHasBeenSet() const { return m_activationExpiryHasBeenSet; }
78 template <typename ActivationExpiryT = Aws::Utils::DateTime>
79 void SetActivationExpiry(ActivationExpiryT&& value) {
80 m_activationExpiryHasBeenSet = true;
81 m_activationExpiry = std::forward<ActivationExpiryT>(value);
82 }
83 template <typename ActivationExpiryT = Aws::Utils::DateTime>
84 ConnectorConfigResponse& WithActivationExpiry(ActivationExpiryT&& value) {
85 SetActivationExpiry(std::forward<ActivationExpiryT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetProvider() const { return m_provider; }
95 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
96 template <typename ProviderT = Aws::String>
97 void SetProvider(ProviderT&& value) {
98 m_providerHasBeenSet = true;
99 m_provider = std::forward<ProviderT>(value);
100 }
101 template <typename ProviderT = Aws::String>
103 SetProvider(std::forward<ProviderT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
114 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
115 template <typename RoleArnT = Aws::String>
116 void SetRoleArn(RoleArnT&& value) {
117 m_roleArnHasBeenSet = true;
118 m_roleArn = std::forward<RoleArnT>(value);
119 }
120 template <typename RoleArnT = Aws::String>
122 SetRoleArn(std::forward<RoleArnT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_activationId;
128
129 Aws::String m_activationCode;
130
131 Aws::Utils::DateTime m_activationExpiry{};
132
133 Aws::String m_provider;
134
135 Aws::String m_roleArn;
136 bool m_activationIdHasBeenSet = false;
137 bool m_activationCodeHasBeenSet = false;
138 bool m_activationExpiryHasBeenSet = false;
139 bool m_providerHasBeenSet = false;
140 bool m_roleArnHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace EKS
145} // namespace Aws
ConnectorConfigResponse & WithRoleArn(RoleArnT &&value)
const Aws::Utils::DateTime & GetActivationExpiry() const
AWS_EKS_API ConnectorConfigResponse(Aws::Utils::Json::JsonView jsonValue)
ConnectorConfigResponse & WithActivationExpiry(ActivationExpiryT &&value)
AWS_EKS_API ConnectorConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorConfigResponse & WithProvider(ProviderT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectorConfigResponse & WithActivationId(ActivationIdT &&value)
AWS_EKS_API ConnectorConfigResponse()=default
void SetActivationExpiry(ActivationExpiryT &&value)
ConnectorConfigResponse & WithActivationCode(ActivationCodeT &&value)
void SetActivationCode(ActivationCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue