AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
IdpAuthConfiguration.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsAgent {
21namespace Model {
22
30 public:
31 AWS_DEVOPSAGENT_API IdpAuthConfiguration() = default;
32 AWS_DEVOPSAGENT_API IdpAuthConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetIssuerUrl() const { return m_issuerUrl; }
41 inline bool IssuerUrlHasBeenSet() const { return m_issuerUrlHasBeenSet; }
42 template <typename IssuerUrlT = Aws::String>
43 void SetIssuerUrl(IssuerUrlT&& value) {
44 m_issuerUrlHasBeenSet = true;
45 m_issuerUrl = std::forward<IssuerUrlT>(value);
46 }
47 template <typename IssuerUrlT = Aws::String>
48 IdpAuthConfiguration& WithIssuerUrl(IssuerUrlT&& value) {
49 SetIssuerUrl(std::forward<IssuerUrlT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetClientId() const { return m_clientId; }
59 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
60 template <typename ClientIdT = Aws::String>
61 void SetClientId(ClientIdT&& value) {
62 m_clientIdHasBeenSet = true;
63 m_clientId = std::forward<ClientIdT>(value);
64 }
65 template <typename ClientIdT = Aws::String>
66 IdpAuthConfiguration& WithClientId(ClientIdT&& value) {
67 SetClientId(std::forward<ClientIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetOperatorAppRoleArn() const { return m_operatorAppRoleArn; }
77 inline bool OperatorAppRoleArnHasBeenSet() const { return m_operatorAppRoleArnHasBeenSet; }
78 template <typename OperatorAppRoleArnT = Aws::String>
79 void SetOperatorAppRoleArn(OperatorAppRoleArnT&& value) {
80 m_operatorAppRoleArnHasBeenSet = true;
81 m_operatorAppRoleArn = std::forward<OperatorAppRoleArnT>(value);
82 }
83 template <typename OperatorAppRoleArnT = Aws::String>
84 IdpAuthConfiguration& WithOperatorAppRoleArn(OperatorAppRoleArnT&& value) {
85 SetOperatorAppRoleArn(std::forward<OperatorAppRoleArnT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetProvider() const { return m_provider; }
95 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
96 template <typename ProviderT = Aws::String>
97 void SetProvider(ProviderT&& value) {
98 m_providerHasBeenSet = true;
99 m_provider = std::forward<ProviderT>(value);
100 }
101 template <typename ProviderT = Aws::String>
102 IdpAuthConfiguration& WithProvider(ProviderT&& value) {
103 SetProvider(std::forward<ProviderT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
113 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
114 template <typename CreatedAtT = Aws::Utils::DateTime>
115 void SetCreatedAt(CreatedAtT&& value) {
116 m_createdAtHasBeenSet = true;
117 m_createdAt = std::forward<CreatedAtT>(value);
118 }
119 template <typename CreatedAtT = Aws::Utils::DateTime>
120 IdpAuthConfiguration& WithCreatedAt(CreatedAtT&& value) {
121 SetCreatedAt(std::forward<CreatedAtT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
131 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
132 template <typename UpdatedAtT = Aws::Utils::DateTime>
133 void SetUpdatedAt(UpdatedAtT&& value) {
134 m_updatedAtHasBeenSet = true;
135 m_updatedAt = std::forward<UpdatedAtT>(value);
136 }
137 template <typename UpdatedAtT = Aws::Utils::DateTime>
138 IdpAuthConfiguration& WithUpdatedAt(UpdatedAtT&& value) {
139 SetUpdatedAt(std::forward<UpdatedAtT>(value));
140 return *this;
141 }
143 private:
144 Aws::String m_issuerUrl;
145
146 Aws::String m_clientId;
147
148 Aws::String m_operatorAppRoleArn;
149
150 Aws::String m_provider;
151
152 Aws::Utils::DateTime m_createdAt{};
153
154 Aws::Utils::DateTime m_updatedAt{};
155 bool m_issuerUrlHasBeenSet = false;
156 bool m_clientIdHasBeenSet = false;
157 bool m_operatorAppRoleArnHasBeenSet = false;
158 bool m_providerHasBeenSet = false;
159 bool m_createdAtHasBeenSet = false;
160 bool m_updatedAtHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace DevOpsAgent
165} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
IdpAuthConfiguration & WithProvider(ProviderT &&value)
AWS_DEVOPSAGENT_API IdpAuthConfiguration()=default
IdpAuthConfiguration & WithCreatedAt(CreatedAtT &&value)
IdpAuthConfiguration & WithUpdatedAt(UpdatedAtT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOperatorAppRoleArn(OperatorAppRoleArnT &&value)
AWS_DEVOPSAGENT_API IdpAuthConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
IdpAuthConfiguration & WithIssuerUrl(IssuerUrlT &&value)
IdpAuthConfiguration & WithOperatorAppRoleArn(OperatorAppRoleArnT &&value)
AWS_DEVOPSAGENT_API IdpAuthConfiguration(Aws::Utils::Json::JsonView jsonValue)
IdpAuthConfiguration & WithClientId(ClientIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue