AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
DeleteSubdomainResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10#include <aws/lightsail/model/Operation.h>
11#include <aws/lightsail/model/Subdomain.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lightsail {
25namespace Model {
27 public:
28 AWS_LIGHTSAIL_API DeleteSubdomainResult() = default;
31
33
38 inline const Subdomain& GetSubdomain() const { return m_subdomain; }
39 template <typename SubdomainT = Subdomain>
40 void SetSubdomain(SubdomainT&& value) {
41 m_subdomainHasBeenSet = true;
42 m_subdomain = std::forward<SubdomainT>(value);
43 }
44 template <typename SubdomainT = Subdomain>
45 DeleteSubdomainResult& WithSubdomain(SubdomainT&& value) {
46 SetSubdomain(std::forward<SubdomainT>(value));
47 return *this;
48 }
50
52
57 inline const Operation& GetOperation() const { return m_operation; }
58 template <typename OperationT = Operation>
59 void SetOperation(OperationT&& value) {
60 m_operationHasBeenSet = true;
61 m_operation = std::forward<OperationT>(value);
62 }
63 template <typename OperationT = Operation>
64 DeleteSubdomainResult& WithOperation(OperationT&& value) {
65 SetOperation(std::forward<OperationT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
79 DeleteSubdomainResult& WithRequestId(RequestIdT&& value) {
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 Subdomain m_subdomain;
88
89 Operation m_operation;
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_subdomainHasBeenSet = false;
94 bool m_operationHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Lightsail
100} // namespace Aws
DeleteSubdomainResult & WithRequestId(RequestIdT &&value)
AWS_LIGHTSAIL_API DeleteSubdomainResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DeleteSubdomainResult & WithOperation(OperationT &&value)
AWS_LIGHTSAIL_API DeleteSubdomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LIGHTSAIL_API DeleteSubdomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteSubdomainResult & WithSubdomain(SubdomainT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue