AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReferencePredictorSummary.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/forecast/model/State.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ForecastService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FORECASTSERVICE_API ReferencePredictorSummary();
37 AWS_FORECASTSERVICE_API ReferencePredictorSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline ReferencePredictorSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline ReferencePredictorSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline ReferencePredictorSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
61 inline const State& GetState() const{ return m_state; }
62 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
63 inline void SetState(const State& value) { m_stateHasBeenSet = true; m_state = value; }
64 inline void SetState(State&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
65 inline ReferencePredictorSummary& WithState(const State& value) { SetState(value); return *this;}
66 inline ReferencePredictorSummary& WithState(State&& value) { SetState(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_arn;
71 bool m_arnHasBeenSet = false;
72
73 State m_state;
74 bool m_stateHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ForecastService
79} // namespace Aws
ReferencePredictorSummary & WithArn(const char *value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ReferencePredictorSummary & WithState(const State &value)
ReferencePredictorSummary & WithArn(Aws::String &&value)
AWS_FORECASTSERVICE_API ReferencePredictorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReferencePredictorSummary & WithArn(const Aws::String &value)
AWS_FORECASTSERVICE_API ReferencePredictorSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue