AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ConnectorConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKS_EXPORTS.h>
9#include <aws/eks/model/ConnectorConfigProvider.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
30 public:
31 AWS_EKS_API ConnectorConfigRequest() = default;
35
37
41 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
42 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
43 template <typename RoleArnT = Aws::String>
44 void SetRoleArn(RoleArnT&& value) {
45 m_roleArnHasBeenSet = true;
46 m_roleArn = std::forward<RoleArnT>(value);
47 }
48 template <typename RoleArnT = Aws::String>
50 SetRoleArn(std::forward<RoleArnT>(value));
51 return *this;
52 }
54
56
59 inline ConnectorConfigProvider GetProvider() const { return m_provider; }
60 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
62 m_providerHasBeenSet = true;
63 m_provider = value;
64 }
66 SetProvider(value);
67 return *this;
68 }
70 private:
71 Aws::String m_roleArn;
72
74 bool m_roleArnHasBeenSet = false;
75 bool m_providerHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace EKS
80} // namespace Aws
AWS_EKS_API ConnectorConfigRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API ConnectorConfigRequest(Aws::Utils::Json::JsonView jsonValue)
ConnectorConfigProvider GetProvider() const
AWS_EKS_API ConnectorConfigRequest()=default
ConnectorConfigRequest & WithProvider(ConnectorConfigProvider value)
ConnectorConfigRequest & WithRoleArn(RoleArnT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProvider(ConnectorConfigProvider value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue