AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RejectChoice.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 DataZone
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAZONE_API RejectChoice();
37 AWS_DATAZONE_API RejectChoice(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<int>& GetPredictionChoices() const{ return m_predictionChoices; }
48 inline bool PredictionChoicesHasBeenSet() const { return m_predictionChoicesHasBeenSet; }
49 inline void SetPredictionChoices(const Aws::Vector<int>& value) { m_predictionChoicesHasBeenSet = true; m_predictionChoices = value; }
50 inline void SetPredictionChoices(Aws::Vector<int>&& value) { m_predictionChoicesHasBeenSet = true; m_predictionChoices = std::move(value); }
51 inline RejectChoice& WithPredictionChoices(const Aws::Vector<int>& value) { SetPredictionChoices(value); return *this;}
52 inline RejectChoice& WithPredictionChoices(Aws::Vector<int>&& value) { SetPredictionChoices(std::move(value)); return *this;}
53 inline RejectChoice& AddPredictionChoices(int value) { m_predictionChoicesHasBeenSet = true; m_predictionChoices.push_back(value); return *this; }
55
57
61 inline const Aws::String& GetPredictionTarget() const{ return m_predictionTarget; }
62 inline bool PredictionTargetHasBeenSet() const { return m_predictionTargetHasBeenSet; }
63 inline void SetPredictionTarget(const Aws::String& value) { m_predictionTargetHasBeenSet = true; m_predictionTarget = value; }
64 inline void SetPredictionTarget(Aws::String&& value) { m_predictionTargetHasBeenSet = true; m_predictionTarget = std::move(value); }
65 inline void SetPredictionTarget(const char* value) { m_predictionTargetHasBeenSet = true; m_predictionTarget.assign(value); }
66 inline RejectChoice& WithPredictionTarget(const Aws::String& value) { SetPredictionTarget(value); return *this;}
67 inline RejectChoice& WithPredictionTarget(Aws::String&& value) { SetPredictionTarget(std::move(value)); return *this;}
68 inline RejectChoice& WithPredictionTarget(const char* value) { SetPredictionTarget(value); return *this;}
70 private:
71
72 Aws::Vector<int> m_predictionChoices;
73 bool m_predictionChoicesHasBeenSet = false;
74
75 Aws::String m_predictionTarget;
76 bool m_predictionTargetHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace DataZone
81} // namespace Aws
AWS_DATAZONE_API RejectChoice(Aws::Utils::Json::JsonView jsonValue)
RejectChoice & WithPredictionChoices(const Aws::Vector< int > &value)
RejectChoice & WithPredictionChoices(Aws::Vector< int > &&value)
RejectChoice & AddPredictionChoices(int value)
RejectChoice & WithPredictionTarget(Aws::String &&value)
AWS_DATAZONE_API RejectChoice & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPredictionTarget(const Aws::String &value)
void SetPredictionTarget(Aws::String &&value)
void SetPredictionChoices(Aws::Vector< int > &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPredictionTarget(const char *value)
const Aws::Vector< int > & GetPredictionChoices() const
void SetPredictionChoices(const Aws::Vector< int > &value)
RejectChoice & WithPredictionTarget(const Aws::String &value)
RejectChoice & WithPredictionTarget(const char *value)
const Aws::String & GetPredictionTarget() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue