AWS SDK for C++

AWS SDK for C++ Version 1.11.910

Loading...
Searching...
No Matches
UpdateAckConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.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
31 public:
32 AWS_EKS_API UpdateAckConfig() = default;
36
38
45 inline bool GetEnableCrossNamespace() const { return m_enableCrossNamespace; }
46 inline bool EnableCrossNamespaceHasBeenSet() const { return m_enableCrossNamespaceHasBeenSet; }
47 inline void SetEnableCrossNamespace(bool value) {
48 m_enableCrossNamespaceHasBeenSet = true;
49 m_enableCrossNamespace = value;
50 }
53 return *this;
54 }
56
58
65 inline const Aws::Vector<Aws::String>& GetDisabledServices() const { return m_disabledServices; }
66 inline bool DisabledServicesHasBeenSet() const { return m_disabledServicesHasBeenSet; }
67 template <typename DisabledServicesT = Aws::Vector<Aws::String>>
68 void SetDisabledServices(DisabledServicesT&& value) {
69 m_disabledServicesHasBeenSet = true;
70 m_disabledServices = std::forward<DisabledServicesT>(value);
71 }
72 template <typename DisabledServicesT = Aws::Vector<Aws::String>>
73 UpdateAckConfig& WithDisabledServices(DisabledServicesT&& value) {
74 SetDisabledServices(std::forward<DisabledServicesT>(value));
75 return *this;
76 }
77 template <typename DisabledServicesT = Aws::String>
78 UpdateAckConfig& AddDisabledServices(DisabledServicesT&& value) {
79 m_disabledServicesHasBeenSet = true;
80 m_disabledServices.emplace_back(std::forward<DisabledServicesT>(value));
81 return *this;
82 }
84 private:
85 bool m_enableCrossNamespace{false};
86
87 Aws::Vector<Aws::String> m_disabledServices;
88 bool m_enableCrossNamespaceHasBeenSet = false;
89 bool m_disabledServicesHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace EKS
94} // namespace Aws
AWS_EKS_API UpdateAckConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API UpdateAckConfig(Aws::Utils::Json::JsonView jsonValue)
void SetDisabledServices(DisabledServicesT &&value)
UpdateAckConfig & WithDisabledServices(DisabledServicesT &&value)
UpdateAckConfig & WithEnableCrossNamespace(bool value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKS_API UpdateAckConfig()=default
UpdateAckConfig & AddDisabledServices(DisabledServicesT &&value)
const Aws::Vector< Aws::String > & GetDisabledServices() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue