AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DescribeAddonConfigurationResult.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/eks/EKS_EXPORTS.h>
11#include <aws/eks/model/AddonPodIdentityConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EKS {
25namespace Model {
27 public:
28 AWS_EKS_API DescribeAddonConfigurationResult() = default;
31
33
36 inline const Aws::String& GetAddonName() const { return m_addonName; }
37 template <typename AddonNameT = Aws::String>
38 void SetAddonName(AddonNameT&& value) {
39 m_addonNameHasBeenSet = true;
40 m_addonName = std::forward<AddonNameT>(value);
41 }
42 template <typename AddonNameT = Aws::String>
44 SetAddonName(std::forward<AddonNameT>(value));
45 return *this;
46 }
48
50
56 inline const Aws::String& GetAddonVersion() const { return m_addonVersion; }
57 template <typename AddonVersionT = Aws::String>
58 void SetAddonVersion(AddonVersionT&& value) {
59 m_addonVersionHasBeenSet = true;
60 m_addonVersion = std::forward<AddonVersionT>(value);
61 }
62 template <typename AddonVersionT = Aws::String>
64 SetAddonVersion(std::forward<AddonVersionT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetConfigurationSchema() const { return m_configurationSchema; }
75 template <typename ConfigurationSchemaT = Aws::String>
76 void SetConfigurationSchema(ConfigurationSchemaT&& value) {
77 m_configurationSchemaHasBeenSet = true;
78 m_configurationSchema = std::forward<ConfigurationSchemaT>(value);
79 }
80 template <typename ConfigurationSchemaT = Aws::String>
82 SetConfigurationSchema(std::forward<ConfigurationSchemaT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::Vector<AddonPodIdentityConfiguration>& GetPodIdentityConfiguration() const { return m_podIdentityConfiguration; }
93 template <typename PodIdentityConfigurationT = Aws::Vector<AddonPodIdentityConfiguration>>
94 void SetPodIdentityConfiguration(PodIdentityConfigurationT&& value) {
95 m_podIdentityConfigurationHasBeenSet = true;
96 m_podIdentityConfiguration = std::forward<PodIdentityConfigurationT>(value);
97 }
98 template <typename PodIdentityConfigurationT = Aws::Vector<AddonPodIdentityConfiguration>>
100 SetPodIdentityConfiguration(std::forward<PodIdentityConfigurationT>(value));
101 return *this;
102 }
103 template <typename PodIdentityConfigurationT = AddonPodIdentityConfiguration>
105 m_podIdentityConfigurationHasBeenSet = true;
106 m_podIdentityConfiguration.emplace_back(std::forward<PodIdentityConfigurationT>(value));
107 return *this;
108 }
110
112
113 inline const Aws::String& GetRequestId() const { return m_requestId; }
114 template <typename RequestIdT = Aws::String>
115 void SetRequestId(RequestIdT&& value) {
116 m_requestIdHasBeenSet = true;
117 m_requestId = std::forward<RequestIdT>(value);
118 }
119 template <typename RequestIdT = Aws::String>
121 SetRequestId(std::forward<RequestIdT>(value));
122 return *this;
123 }
125 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
126
127 private:
128 Aws::String m_addonName;
129
130 Aws::String m_addonVersion;
131
132 Aws::String m_configurationSchema;
133
134 Aws::Vector<AddonPodIdentityConfiguration> m_podIdentityConfiguration;
135
136 Aws::String m_requestId;
137 Aws::Http::HttpResponseCode m_HttpResponseCode;
138 bool m_addonNameHasBeenSet = false;
139 bool m_addonVersionHasBeenSet = false;
140 bool m_configurationSchemaHasBeenSet = false;
141 bool m_podIdentityConfigurationHasBeenSet = false;
142 bool m_requestIdHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace EKS
147} // namespace Aws
DescribeAddonConfigurationResult & WithAddonVersion(AddonVersionT &&value)
DescribeAddonConfigurationResult & AddPodIdentityConfiguration(PodIdentityConfigurationT &&value)
DescribeAddonConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_EKS_API DescribeAddonConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EKS_API DescribeAddonConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAddonConfigurationResult & WithAddonName(AddonNameT &&value)
void SetPodIdentityConfiguration(PodIdentityConfigurationT &&value)
DescribeAddonConfigurationResult & WithPodIdentityConfiguration(PodIdentityConfigurationT &&value)
const Aws::Vector< AddonPodIdentityConfiguration > & GetPodIdentityConfiguration() const
DescribeAddonConfigurationResult & WithConfigurationSchema(ConfigurationSchemaT &&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