AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
GetOperatorAppResult.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 GetOperatorAppResult() = default;
38
40
43 inline const Aws::String& GetOperatorAppUrl() const { return m_operatorAppUrl; }
44 template <typename OperatorAppUrlT = Aws::String>
45 void SetOperatorAppUrl(OperatorAppUrlT&& value) {
46 m_operatorAppUrlHasBeenSet = true;
47 m_operatorAppUrl = std::forward<OperatorAppUrlT>(value);
48 }
49 template <typename OperatorAppUrlT = Aws::String>
50 GetOperatorAppResult& WithOperatorAppUrl(OperatorAppUrlT&& value) {
51 SetOperatorAppUrl(std::forward<OperatorAppUrlT>(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>
110 GetOperatorAppResult& WithRequestId(RequestIdT&& value) {
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_operatorAppUrl;
119
121
123
125
126 Aws::String m_requestId;
127 Aws::Http::HttpResponseCode m_HttpResponseCode;
128 bool m_operatorAppUrlHasBeenSet = 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
GetOperatorAppResult & WithRequestId(RequestIdT &&value)
const IdcAuthConfiguration & GetIdc() const
AWS_DEVOPSAGENT_API GetOperatorAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEVOPSAGENT_API GetOperatorAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOperatorAppResult & WithIam(IamT &&value)
GetOperatorAppResult & WithIdp(IdpT &&value)
const IamAuthConfiguration & GetIam() const
AWS_DEVOPSAGENT_API GetOperatorAppResult()=default
GetOperatorAppResult & WithOperatorAppUrl(OperatorAppUrlT &&value)
const IdpAuthConfiguration & GetIdp() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetOperatorAppResult & WithIdc(IdcT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue