AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
GcpConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9#include <aws/ssm/model/GcpConfigurationTargets.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SSM {
21namespace Model {
22
32 public:
33 AWS_SSM_API GcpConfiguration() = default;
37
39
42 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
43 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
44 template <typename OrganizationIdT = Aws::String>
45 void SetOrganizationId(OrganizationIdT&& value) {
46 m_organizationIdHasBeenSet = true;
47 m_organizationId = std::forward<OrganizationIdT>(value);
48 }
49 template <typename OrganizationIdT = Aws::String>
50 GcpConfiguration& WithOrganizationId(OrganizationIdT&& value) {
51 SetOrganizationId(std::forward<OrganizationIdT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetWorkloadIdentityPoolProvider() const { return m_workloadIdentityPoolProvider; }
62 inline bool WorkloadIdentityPoolProviderHasBeenSet() const { return m_workloadIdentityPoolProviderHasBeenSet; }
63 template <typename WorkloadIdentityPoolProviderT = Aws::String>
64 void SetWorkloadIdentityPoolProvider(WorkloadIdentityPoolProviderT&& value) {
65 m_workloadIdentityPoolProviderHasBeenSet = true;
66 m_workloadIdentityPoolProvider = std::forward<WorkloadIdentityPoolProviderT>(value);
67 }
68 template <typename WorkloadIdentityPoolProviderT = Aws::String>
69 GcpConfiguration& WithWorkloadIdentityPoolProvider(WorkloadIdentityPoolProviderT&& value) {
70 SetWorkloadIdentityPoolProvider(std::forward<WorkloadIdentityPoolProviderT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetServiceAccountEmail() const { return m_serviceAccountEmail; }
80 inline bool ServiceAccountEmailHasBeenSet() const { return m_serviceAccountEmailHasBeenSet; }
81 template <typename ServiceAccountEmailT = Aws::String>
82 void SetServiceAccountEmail(ServiceAccountEmailT&& value) {
83 m_serviceAccountEmailHasBeenSet = true;
84 m_serviceAccountEmail = std::forward<ServiceAccountEmailT>(value);
85 }
86 template <typename ServiceAccountEmailT = Aws::String>
87 GcpConfiguration& WithServiceAccountEmail(ServiceAccountEmailT&& value) {
88 SetServiceAccountEmail(std::forward<ServiceAccountEmailT>(value));
89 return *this;
90 }
92
94
97 inline const GcpConfigurationTargets& GetTargets() const { return m_targets; }
98 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
99 template <typename TargetsT = GcpConfigurationTargets>
100 void SetTargets(TargetsT&& value) {
101 m_targetsHasBeenSet = true;
102 m_targets = std::forward<TargetsT>(value);
103 }
104 template <typename TargetsT = GcpConfigurationTargets>
105 GcpConfiguration& WithTargets(TargetsT&& value) {
106 SetTargets(std::forward<TargetsT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_organizationId;
112
113 Aws::String m_workloadIdentityPoolProvider;
114
115 Aws::String m_serviceAccountEmail;
116
117 GcpConfigurationTargets m_targets;
118 bool m_organizationIdHasBeenSet = false;
119 bool m_workloadIdentityPoolProviderHasBeenSet = false;
120 bool m_serviceAccountEmailHasBeenSet = false;
121 bool m_targetsHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace SSM
126} // namespace Aws
const GcpConfigurationTargets & GetTargets() const
AWS_SSM_API GcpConfiguration()=default
GcpConfiguration & WithOrganizationId(OrganizationIdT &&value)
AWS_SSM_API GcpConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API GcpConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWorkloadIdentityPoolProvider() const
const Aws::String & GetServiceAccountEmail() const
void SetServiceAccountEmail(ServiceAccountEmailT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
GcpConfiguration & WithTargets(TargetsT &&value)
GcpConfiguration & WithWorkloadIdentityPoolProvider(WorkloadIdentityPoolProviderT &&value)
void SetOrganizationId(OrganizationIdT &&value)
GcpConfiguration & WithServiceAccountEmail(ServiceAccountEmailT &&value)
void SetWorkloadIdentityPoolProvider(WorkloadIdentityPoolProviderT &&value)
const Aws::String & GetOrganizationId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue