AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateFlywheelResult.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_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 Comprehend {
22namespace Model {
24 public:
25 AWS_COMPREHEND_API CreateFlywheelResult() = default;
28
30
33 inline const Aws::String& GetFlywheelArn() const { return m_flywheelArn; }
34 template <typename FlywheelArnT = Aws::String>
35 void SetFlywheelArn(FlywheelArnT&& value) {
36 m_flywheelArnHasBeenSet = true;
37 m_flywheelArn = std::forward<FlywheelArnT>(value);
38 }
39 template <typename FlywheelArnT = Aws::String>
40 CreateFlywheelResult& WithFlywheelArn(FlywheelArnT&& value) {
41 SetFlywheelArn(std::forward<FlywheelArnT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetActiveModelArn() const { return m_activeModelArn; }
51 template <typename ActiveModelArnT = Aws::String>
52 void SetActiveModelArn(ActiveModelArnT&& value) {
53 m_activeModelArnHasBeenSet = true;
54 m_activeModelArn = std::forward<ActiveModelArnT>(value);
55 }
56 template <typename ActiveModelArnT = Aws::String>
57 CreateFlywheelResult& WithActiveModelArn(ActiveModelArnT&& value) {
58 SetActiveModelArn(std::forward<ActiveModelArnT>(value));
59 return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
72 CreateFlywheelResult& WithRequestId(RequestIdT&& value) {
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_flywheelArn;
79
80 Aws::String m_activeModelArn;
81
82 Aws::String m_requestId;
83 bool m_flywheelArnHasBeenSet = false;
84 bool m_activeModelArnHasBeenSet = false;
85 bool m_requestIdHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace Comprehend
90} // namespace Aws
AWS_COMPREHEND_API CreateFlywheelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COMPREHEND_API CreateFlywheelResult()=default
CreateFlywheelResult & WithRequestId(RequestIdT &&value)
CreateFlywheelResult & WithActiveModelArn(ActiveModelArnT &&value)
CreateFlywheelResult & WithFlywheelArn(FlywheelArnT &&value)
AWS_COMPREHEND_API CreateFlywheelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue