AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CreateLandingZoneResult.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace ControlTower {
22namespace Model {
24 public:
25 AWS_CONTROLTOWER_API CreateLandingZoneResult() = default;
28
30
33 inline const Aws::String& GetArn() const { return m_arn; }
34 template <typename ArnT = Aws::String>
35 void SetArn(ArnT&& value) {
36 m_arnHasBeenSet = true;
37 m_arn = std::forward<ArnT>(value);
38 }
39 template <typename ArnT = Aws::String>
41 SetArn(std::forward<ArnT>(value));
42 return *this;
43 }
45
47
52 inline const Aws::String& GetOperationIdentifier() const { return m_operationIdentifier; }
53 template <typename OperationIdentifierT = Aws::String>
54 void SetOperationIdentifier(OperationIdentifierT&& value) {
55 m_operationIdentifierHasBeenSet = true;
56 m_operationIdentifier = std::forward<OperationIdentifierT>(value);
57 }
58 template <typename OperationIdentifierT = Aws::String>
59 CreateLandingZoneResult& WithOperationIdentifier(OperationIdentifierT&& value) {
60 SetOperationIdentifier(std::forward<OperationIdentifierT>(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 private:
80 Aws::String m_arn;
81
82 Aws::String m_operationIdentifier;
83
84 Aws::String m_requestId;
85 bool m_arnHasBeenSet = false;
86 bool m_operationIdentifierHasBeenSet = false;
87 bool m_requestIdHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace ControlTower
92} // namespace Aws
AWS_CONTROLTOWER_API CreateLandingZoneResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONTROLTOWER_API CreateLandingZoneResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONTROLTOWER_API CreateLandingZoneResult()=default
CreateLandingZoneResult & WithArn(ArnT &&value)
CreateLandingZoneResult & WithRequestId(RequestIdT &&value)
void SetOperationIdentifier(OperationIdentifierT &&value)
CreateLandingZoneResult & WithOperationIdentifier(OperationIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue