AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConnectorConfigResponse.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EKS
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_EKS_API ConnectorConfigResponse() = default;
39
40
42
45 inline const Aws::String& GetActivationId() const { return m_activationId; }
46 inline bool ActivationIdHasBeenSet() const { return m_activationIdHasBeenSet; }
47 template<typename ActivationIdT = Aws::String>
48 void SetActivationId(ActivationIdT&& value) { m_activationIdHasBeenSet = true; m_activationId = std::forward<ActivationIdT>(value); }
49 template<typename ActivationIdT = Aws::String>
50 ConnectorConfigResponse& WithActivationId(ActivationIdT&& value) { SetActivationId(std::forward<ActivationIdT>(value)); return *this;}
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) { m_activationCodeHasBeenSet = true; m_activationCode = std::forward<ActivationCodeT>(value); }
61 template<typename ActivationCodeT = Aws::String>
62 ConnectorConfigResponse& WithActivationCode(ActivationCodeT&& value) { SetActivationCode(std::forward<ActivationCodeT>(value)); return *this;}
64
66
70 inline const Aws::Utils::DateTime& GetActivationExpiry() const { return m_activationExpiry; }
71 inline bool ActivationExpiryHasBeenSet() const { return m_activationExpiryHasBeenSet; }
72 template<typename ActivationExpiryT = Aws::Utils::DateTime>
73 void SetActivationExpiry(ActivationExpiryT&& value) { m_activationExpiryHasBeenSet = true; m_activationExpiry = std::forward<ActivationExpiryT>(value); }
74 template<typename ActivationExpiryT = Aws::Utils::DateTime>
75 ConnectorConfigResponse& WithActivationExpiry(ActivationExpiryT&& value) { SetActivationExpiry(std::forward<ActivationExpiryT>(value)); return *this;}
77
79
82 inline const Aws::String& GetProvider() const { return m_provider; }
83 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
84 template<typename ProviderT = Aws::String>
85 void SetProvider(ProviderT&& value) { m_providerHasBeenSet = true; m_provider = std::forward<ProviderT>(value); }
86 template<typename ProviderT = Aws::String>
87 ConnectorConfigResponse& WithProvider(ProviderT&& value) { SetProvider(std::forward<ProviderT>(value)); return *this;}
89
91
95 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
96 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
97 template<typename RoleArnT = Aws::String>
98 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
99 template<typename RoleArnT = Aws::String>
100 ConnectorConfigResponse& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
102 private:
103
104 Aws::String m_activationId;
105 bool m_activationIdHasBeenSet = false;
106
107 Aws::String m_activationCode;
108 bool m_activationCodeHasBeenSet = false;
109
110 Aws::Utils::DateTime m_activationExpiry{};
111 bool m_activationExpiryHasBeenSet = false;
112
113 Aws::String m_provider;
114 bool m_providerHasBeenSet = false;
115
116 Aws::String m_roleArn;
117 bool m_roleArnHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace EKS
122} // 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