AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
EnableControlResult.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 EnableControlResult() = default;
28
30
34 inline const Aws::String& GetOperationIdentifier() const { return m_operationIdentifier; }
35 template <typename OperationIdentifierT = Aws::String>
36 void SetOperationIdentifier(OperationIdentifierT&& value) {
37 m_operationIdentifierHasBeenSet = true;
38 m_operationIdentifier = std::forward<OperationIdentifierT>(value);
39 }
40 template <typename OperationIdentifierT = Aws::String>
41 EnableControlResult& WithOperationIdentifier(OperationIdentifierT&& value) {
42 SetOperationIdentifier(std::forward<OperationIdentifierT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetArn() const { return m_arn; }
52 template <typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) {
54 m_arnHasBeenSet = true;
55 m_arn = std::forward<ArnT>(value);
56 }
57 template <typename ArnT = Aws::String>
59 SetArn(std::forward<ArnT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
73 EnableControlResult& WithRequestId(RequestIdT&& value) {
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_operationIdentifier;
80
81 Aws::String m_arn;
82
83 Aws::String m_requestId;
84 bool m_operationIdentifierHasBeenSet = false;
85 bool m_arnHasBeenSet = false;
86 bool m_requestIdHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace ControlTower
91} // namespace Aws
AWS_CONTROLTOWER_API EnableControlResult()=default
AWS_CONTROLTOWER_API EnableControlResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOperationIdentifier(OperationIdentifierT &&value)
EnableControlResult & WithRequestId(RequestIdT &&value)
EnableControlResult & WithOperationIdentifier(OperationIdentifierT &&value)
AWS_CONTROLTOWER_API EnableControlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EnableControlResult & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue