AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
EnableOperatorAppResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10#include <aws/devops-agent/model/IamAuthConfiguration.h>
11#include <aws/devops-agent/model/IdcAuthConfiguration.h>
12#include <aws/devops-agent/model/IdpAuthConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DevOpsAgent {
26namespace Model {
34 public:
35 AWS_DEVOPSAGENT_API EnableOperatorAppResult() = default;
38
40
43 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
44 template <typename AgentSpaceIdT = Aws::String>
45 void SetAgentSpaceId(AgentSpaceIdT&& value) {
46 m_agentSpaceIdHasBeenSet = true;
47 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
48 }
49 template <typename AgentSpaceIdT = Aws::String>
50 EnableOperatorAppResult& WithAgentSpaceId(AgentSpaceIdT&& value) {
51 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetOperatorAppUrl() const { return m_operatorAppUrl; }
61 template <typename OperatorAppUrlT = Aws::String>
62 void SetOperatorAppUrl(OperatorAppUrlT&& value) {
63 m_operatorAppUrlHasBeenSet = true;
64 m_operatorAppUrl = std::forward<OperatorAppUrlT>(value);
65 }
66 template <typename OperatorAppUrlT = Aws::String>
67 EnableOperatorAppResult& WithOperatorAppUrl(OperatorAppUrlT&& value) {
68 SetOperatorAppUrl(std::forward<OperatorAppUrlT>(value));
69 return *this;
70 }
72
74
75 inline const IamAuthConfiguration& GetIam() const { return m_iam; }
76 template <typename IamT = IamAuthConfiguration>
77 void SetIam(IamT&& value) {
78 m_iamHasBeenSet = true;
79 m_iam = std::forward<IamT>(value);
80 }
81 template <typename IamT = IamAuthConfiguration>
83 SetIam(std::forward<IamT>(value));
84 return *this;
85 }
87
89
90 inline const IdcAuthConfiguration& GetIdc() const { return m_idc; }
91 template <typename IdcT = IdcAuthConfiguration>
92 void SetIdc(IdcT&& value) {
93 m_idcHasBeenSet = true;
94 m_idc = std::forward<IdcT>(value);
95 }
96 template <typename IdcT = IdcAuthConfiguration>
98 SetIdc(std::forward<IdcT>(value));
99 return *this;
100 }
102
104
105 inline const IdpAuthConfiguration& GetIdp() const { return m_idp; }
106 template <typename IdpT = IdpAuthConfiguration>
107 void SetIdp(IdpT&& value) {
108 m_idpHasBeenSet = true;
109 m_idp = std::forward<IdpT>(value);
110 }
111 template <typename IdpT = IdpAuthConfiguration>
113 SetIdp(std::forward<IdpT>(value));
114 return *this;
115 }
117
119
120 inline const Aws::String& GetRequestId() const { return m_requestId; }
121 template <typename RequestIdT = Aws::String>
122 void SetRequestId(RequestIdT&& value) {
123 m_requestIdHasBeenSet = true;
124 m_requestId = std::forward<RequestIdT>(value);
125 }
126 template <typename RequestIdT = Aws::String>
128 SetRequestId(std::forward<RequestIdT>(value));
129 return *this;
130 }
132 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
133
134 private:
135 Aws::String m_agentSpaceId;
136
137 Aws::String m_operatorAppUrl;
138
140
142
144
145 Aws::String m_requestId;
146 Aws::Http::HttpResponseCode m_HttpResponseCode;
147 bool m_agentSpaceIdHasBeenSet = false;
148 bool m_operatorAppUrlHasBeenSet = false;
149 bool m_iamHasBeenSet = false;
150 bool m_idcHasBeenSet = false;
151 bool m_idpHasBeenSet = false;
152 bool m_requestIdHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace DevOpsAgent
157} // namespace Aws
AWS_DEVOPSAGENT_API EnableOperatorAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEVOPSAGENT_API EnableOperatorAppResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
EnableOperatorAppResult & WithAgentSpaceId(AgentSpaceIdT &&value)
AWS_DEVOPSAGENT_API EnableOperatorAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EnableOperatorAppResult & WithOperatorAppUrl(OperatorAppUrlT &&value)
EnableOperatorAppResult & WithRequestId(RequestIdT &&value)
EnableOperatorAppResult & WithIam(IamT &&value)
EnableOperatorAppResult & WithIdc(IdcT &&value)
EnableOperatorAppResult & WithIdp(IdpT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue