AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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
41 inline const IamAuthConfiguration& GetIam() const { return m_iam; }
42 template <typename IamT = IamAuthConfiguration>
43 void SetIam(IamT&& value) {
44 m_iamHasBeenSet = true;
45 m_iam = std::forward<IamT>(value);
46 }
47 template <typename IamT = IamAuthConfiguration>
49 SetIam(std::forward<IamT>(value));
50 return *this;
51 }
53
55
56 inline const IdcAuthConfiguration& GetIdc() const { return m_idc; }
57 template <typename IdcT = IdcAuthConfiguration>
58 void SetIdc(IdcT&& value) {
59 m_idcHasBeenSet = true;
60 m_idc = std::forward<IdcT>(value);
61 }
62 template <typename IdcT = IdcAuthConfiguration>
64 SetIdc(std::forward<IdcT>(value));
65 return *this;
66 }
68
70
71 inline const IdpAuthConfiguration& GetIdp() const { return m_idp; }
72 template <typename IdpT = IdpAuthConfiguration>
73 void SetIdp(IdpT&& value) {
74 m_idpHasBeenSet = true;
75 m_idp = std::forward<IdpT>(value);
76 }
77 template <typename IdpT = IdpAuthConfiguration>
79 SetIdp(std::forward<IdpT>(value));
80 return *this;
81 }
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template <typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) {
89 m_requestIdHasBeenSet = true;
90 m_requestId = std::forward<RequestIdT>(value);
91 }
92 template <typename RequestIdT = Aws::String>
93 GetOperatorAppResult& WithRequestId(RequestIdT&& value) {
94 SetRequestId(std::forward<RequestIdT>(value));
95 return *this;
96 }
98 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
99
100 private:
102
104
106
107 Aws::String m_requestId;
108 Aws::Http::HttpResponseCode m_HttpResponseCode;
109 bool m_iamHasBeenSet = false;
110 bool m_idcHasBeenSet = false;
111 bool m_idpHasBeenSet = false;
112 bool m_requestIdHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace DevOpsAgent
117} // 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
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