AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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
58 inline const IamAuthConfiguration& GetIam() const { return m_iam; }
59 template <typename IamT = IamAuthConfiguration>
60 void SetIam(IamT&& value) {
61 m_iamHasBeenSet = true;
62 m_iam = std::forward<IamT>(value);
63 }
64 template <typename IamT = IamAuthConfiguration>
66 SetIam(std::forward<IamT>(value));
67 return *this;
68 }
70
72
73 inline const IdcAuthConfiguration& GetIdc() const { return m_idc; }
74 template <typename IdcT = IdcAuthConfiguration>
75 void SetIdc(IdcT&& value) {
76 m_idcHasBeenSet = true;
77 m_idc = std::forward<IdcT>(value);
78 }
79 template <typename IdcT = IdcAuthConfiguration>
81 SetIdc(std::forward<IdcT>(value));
82 return *this;
83 }
85
87
88 inline const IdpAuthConfiguration& GetIdp() const { return m_idp; }
89 template <typename IdpT = IdpAuthConfiguration>
90 void SetIdp(IdpT&& value) {
91 m_idpHasBeenSet = true;
92 m_idp = std::forward<IdpT>(value);
93 }
94 template <typename IdpT = IdpAuthConfiguration>
96 SetIdp(std::forward<IdpT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
116
117 private:
118 Aws::String m_agentSpaceId;
119
121
123
125
126 Aws::String m_requestId;
127 Aws::Http::HttpResponseCode m_HttpResponseCode;
128 bool m_agentSpaceIdHasBeenSet = false;
129 bool m_iamHasBeenSet = false;
130 bool m_idcHasBeenSet = false;
131 bool m_idpHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace DevOpsAgent
137} // 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 & 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