AWS SDK for C++

AWS SDK for C++ Version 1.11.784

Loading...
Searching...
No Matches
RegisterApplicationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm-sap/SsmSap_EXPORTS.h>
10#include <aws/ssm-sap/model/Application.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SsmSap {
24namespace Model {
26 public:
27 AWS_SSMSAP_API RegisterApplicationResult() = default;
30
32
35 inline const Application& GetApplication() const { return m_application; }
36 template <typename ApplicationT = Application>
37 void SetApplication(ApplicationT&& value) {
38 m_applicationHasBeenSet = true;
39 m_application = std::forward<ApplicationT>(value);
40 }
41 template <typename ApplicationT = Application>
43 SetApplication(std::forward<ApplicationT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetOperationId() const { return m_operationId; }
53 template <typename OperationIdT = Aws::String>
54 void SetOperationId(OperationIdT&& value) {
55 m_operationIdHasBeenSet = true;
56 m_operationId = std::forward<OperationIdT>(value);
57 }
58 template <typename OperationIdT = Aws::String>
60 SetOperationId(std::forward<OperationIdT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Application m_application;
83
84 Aws::String m_operationId;
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_applicationHasBeenSet = false;
89 bool m_operationIdHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace SsmSap
95} // namespace Aws
AWS_SSMSAP_API RegisterApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SSMSAP_API RegisterApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterApplicationResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
RegisterApplicationResult & WithApplication(ApplicationT &&value)
AWS_SSMSAP_API RegisterApplicationResult()=default
RegisterApplicationResult & WithOperationId(OperationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue