AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
EnableOperatorAppRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgentRequest.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10#include <aws/devops-agent/model/AuthFlow.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DevOpsAgent {
16namespace Model {
17
25 public:
26 AWS_DEVOPSAGENT_API EnableOperatorAppRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "EnableOperatorApp"; }
33
34 AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
41 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
42 template <typename AgentSpaceIdT = Aws::String>
43 void SetAgentSpaceId(AgentSpaceIdT&& value) {
44 m_agentSpaceIdHasBeenSet = true;
45 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
46 }
47 template <typename AgentSpaceIdT = Aws::String>
49 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
50 return *this;
51 }
53
55
58 inline AuthFlow GetAuthFlow() const { return m_authFlow; }
59 inline bool AuthFlowHasBeenSet() const { return m_authFlowHasBeenSet; }
60 inline void SetAuthFlow(AuthFlow value) {
61 m_authFlowHasBeenSet = true;
62 m_authFlow = value;
63 }
65 SetAuthFlow(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetOperatorAppRoleArn() const { return m_operatorAppRoleArn; }
75 inline bool OperatorAppRoleArnHasBeenSet() const { return m_operatorAppRoleArnHasBeenSet; }
76 template <typename OperatorAppRoleArnT = Aws::String>
77 void SetOperatorAppRoleArn(OperatorAppRoleArnT&& value) {
78 m_operatorAppRoleArnHasBeenSet = true;
79 m_operatorAppRoleArn = std::forward<OperatorAppRoleArnT>(value);
80 }
81 template <typename OperatorAppRoleArnT = Aws::String>
82 EnableOperatorAppRequest& WithOperatorAppRoleArn(OperatorAppRoleArnT&& value) {
83 SetOperatorAppRoleArn(std::forward<OperatorAppRoleArnT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetIdcInstanceArn() const { return m_idcInstanceArn; }
93 inline bool IdcInstanceArnHasBeenSet() const { return m_idcInstanceArnHasBeenSet; }
94 template <typename IdcInstanceArnT = Aws::String>
95 void SetIdcInstanceArn(IdcInstanceArnT&& value) {
96 m_idcInstanceArnHasBeenSet = true;
97 m_idcInstanceArn = std::forward<IdcInstanceArnT>(value);
98 }
99 template <typename IdcInstanceArnT = Aws::String>
101 SetIdcInstanceArn(std::forward<IdcInstanceArnT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetIssuerUrl() const { return m_issuerUrl; }
111 inline bool IssuerUrlHasBeenSet() const { return m_issuerUrlHasBeenSet; }
112 template <typename IssuerUrlT = Aws::String>
113 void SetIssuerUrl(IssuerUrlT&& value) {
114 m_issuerUrlHasBeenSet = true;
115 m_issuerUrl = std::forward<IssuerUrlT>(value);
116 }
117 template <typename IssuerUrlT = Aws::String>
119 SetIssuerUrl(std::forward<IssuerUrlT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetIdpClientId() const { return m_idpClientId; }
129 inline bool IdpClientIdHasBeenSet() const { return m_idpClientIdHasBeenSet; }
130 template <typename IdpClientIdT = Aws::String>
131 void SetIdpClientId(IdpClientIdT&& value) {
132 m_idpClientIdHasBeenSet = true;
133 m_idpClientId = std::forward<IdpClientIdT>(value);
134 }
135 template <typename IdpClientIdT = Aws::String>
137 SetIdpClientId(std::forward<IdpClientIdT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetIdpClientSecret() const { return m_idpClientSecret; }
147 inline bool IdpClientSecretHasBeenSet() const { return m_idpClientSecretHasBeenSet; }
148 template <typename IdpClientSecretT = Aws::String>
149 void SetIdpClientSecret(IdpClientSecretT&& value) {
150 m_idpClientSecretHasBeenSet = true;
151 m_idpClientSecret = std::forward<IdpClientSecretT>(value);
152 }
153 template <typename IdpClientSecretT = Aws::String>
155 SetIdpClientSecret(std::forward<IdpClientSecretT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::String& GetProvider() const { return m_provider; }
165 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
166 template <typename ProviderT = Aws::String>
167 void SetProvider(ProviderT&& value) {
168 m_providerHasBeenSet = true;
169 m_provider = std::forward<ProviderT>(value);
170 }
171 template <typename ProviderT = Aws::String>
173 SetProvider(std::forward<ProviderT>(value));
174 return *this;
175 }
177 private:
178 Aws::String m_agentSpaceId;
179
180 AuthFlow m_authFlow{AuthFlow::NOT_SET};
181
182 Aws::String m_operatorAppRoleArn;
183
184 Aws::String m_idcInstanceArn;
185
186 Aws::String m_issuerUrl;
187
188 Aws::String m_idpClientId;
189
190 Aws::String m_idpClientSecret;
191
192 Aws::String m_provider;
193 bool m_agentSpaceIdHasBeenSet = false;
194 bool m_authFlowHasBeenSet = false;
195 bool m_operatorAppRoleArnHasBeenSet = false;
196 bool m_idcInstanceArnHasBeenSet = false;
197 bool m_issuerUrlHasBeenSet = false;
198 bool m_idpClientIdHasBeenSet = false;
199 bool m_idpClientSecretHasBeenSet = false;
200 bool m_providerHasBeenSet = false;
201};
202
203} // namespace Model
204} // namespace DevOpsAgent
205} // namespace Aws
EnableOperatorAppRequest & WithIssuerUrl(IssuerUrlT &&value)
virtual const char * GetServiceRequestName() const override
EnableOperatorAppRequest & WithIdcInstanceArn(IdcInstanceArnT &&value)
EnableOperatorAppRequest & WithOperatorAppRoleArn(OperatorAppRoleArnT &&value)
AWS_DEVOPSAGENT_API EnableOperatorAppRequest()=default
EnableOperatorAppRequest & WithAuthFlow(AuthFlow value)
EnableOperatorAppRequest & WithIdpClientSecret(IdpClientSecretT &&value)
EnableOperatorAppRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
EnableOperatorAppRequest & WithIdpClientId(IdpClientIdT &&value)
EnableOperatorAppRequest & WithProvider(ProviderT &&value)
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String