AWS SDK for C++

AWS SDK for C++ Version 1.11.934

Loading...
Searching...
No Matches
GcpConnectorConfiguration.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConfigService {
20namespace Model {
21
29 public:
30 AWS_CONFIGSERVICE_API GcpConnectorConfiguration() = default;
31 AWS_CONFIGSERVICE_API GcpConnectorConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
45 inline const Aws::String& GetGcpOrganizationId() const { return m_gcpOrganizationId; }
46 inline bool GcpOrganizationIdHasBeenSet() const { return m_gcpOrganizationIdHasBeenSet; }
47 template <typename GcpOrganizationIdT = Aws::String>
48 void SetGcpOrganizationId(GcpOrganizationIdT&& value) {
49 m_gcpOrganizationIdHasBeenSet = true;
50 m_gcpOrganizationId = std::forward<GcpOrganizationIdT>(value);
51 }
52 template <typename GcpOrganizationIdT = Aws::String>
53 GcpConnectorConfiguration& WithGcpOrganizationId(GcpOrganizationIdT&& value) {
54 SetGcpOrganizationId(std::forward<GcpOrganizationIdT>(value));
55 return *this;
56 }
58
60
68 inline const Aws::String& GetServiceAccountEmail() const { return m_serviceAccountEmail; }
69 inline bool ServiceAccountEmailHasBeenSet() const { return m_serviceAccountEmailHasBeenSet; }
70 template <typename ServiceAccountEmailT = Aws::String>
71 void SetServiceAccountEmail(ServiceAccountEmailT&& value) {
72 m_serviceAccountEmailHasBeenSet = true;
73 m_serviceAccountEmail = std::forward<ServiceAccountEmailT>(value);
74 }
75 template <typename ServiceAccountEmailT = Aws::String>
76 GcpConnectorConfiguration& WithServiceAccountEmail(ServiceAccountEmailT&& value) {
77 SetServiceAccountEmail(std::forward<ServiceAccountEmailT>(value));
78 return *this;
79 }
81
83
88 inline const Aws::String& GetWorkloadIdentityPoolProvider() const { return m_workloadIdentityPoolProvider; }
89 inline bool WorkloadIdentityPoolProviderHasBeenSet() const { return m_workloadIdentityPoolProviderHasBeenSet; }
90 template <typename WorkloadIdentityPoolProviderT = Aws::String>
91 void SetWorkloadIdentityPoolProvider(WorkloadIdentityPoolProviderT&& value) {
92 m_workloadIdentityPoolProviderHasBeenSet = true;
93 m_workloadIdentityPoolProvider = std::forward<WorkloadIdentityPoolProviderT>(value);
94 }
95 template <typename WorkloadIdentityPoolProviderT = Aws::String>
96 GcpConnectorConfiguration& WithWorkloadIdentityPoolProvider(WorkloadIdentityPoolProviderT&& value) {
97 SetWorkloadIdentityPoolProvider(std::forward<WorkloadIdentityPoolProviderT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_gcpOrganizationId;
103
104 Aws::String m_serviceAccountEmail;
105
106 Aws::String m_workloadIdentityPoolProvider;
107 bool m_gcpOrganizationIdHasBeenSet = false;
108 bool m_serviceAccountEmailHasBeenSet = false;
109 bool m_workloadIdentityPoolProviderHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace ConfigService
114} // namespace Aws
GcpConnectorConfiguration & WithGcpOrganizationId(GcpOrganizationIdT &&value)
AWS_CONFIGSERVICE_API GcpConnectorConfiguration()=default
void SetWorkloadIdentityPoolProvider(WorkloadIdentityPoolProviderT &&value)
GcpConnectorConfiguration & WithWorkloadIdentityPoolProvider(WorkloadIdentityPoolProviderT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API GcpConnectorConfiguration(Aws::Utils::Json::JsonView jsonValue)
GcpConnectorConfiguration & WithServiceAccountEmail(ServiceAccountEmailT &&value)
AWS_CONFIGSERVICE_API GcpConnectorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue