AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceptChoice.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_DATAZONE_API AcceptChoice();
37 AWS_DATAZONE_API AcceptChoice(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetEditedValue() const{ return m_editedValue; }
47 inline bool EditedValueHasBeenSet() const { return m_editedValueHasBeenSet; }
48 inline void SetEditedValue(const Aws::String& value) { m_editedValueHasBeenSet = true; m_editedValue = value; }
49 inline void SetEditedValue(Aws::String&& value) { m_editedValueHasBeenSet = true; m_editedValue = std::move(value); }
50 inline void SetEditedValue(const char* value) { m_editedValueHasBeenSet = true; m_editedValue.assign(value); }
51 inline AcceptChoice& WithEditedValue(const Aws::String& value) { SetEditedValue(value); return *this;}
52 inline AcceptChoice& WithEditedValue(Aws::String&& value) { SetEditedValue(std::move(value)); return *this;}
53 inline AcceptChoice& WithEditedValue(const char* value) { SetEditedValue(value); return *this;}
55
57
61 inline int GetPredictionChoice() const{ return m_predictionChoice; }
62 inline bool PredictionChoiceHasBeenSet() const { return m_predictionChoiceHasBeenSet; }
63 inline void SetPredictionChoice(int value) { m_predictionChoiceHasBeenSet = true; m_predictionChoice = value; }
64 inline AcceptChoice& WithPredictionChoice(int value) { SetPredictionChoice(value); return *this;}
66
68
72 inline const Aws::String& GetPredictionTarget() const{ return m_predictionTarget; }
73 inline bool PredictionTargetHasBeenSet() const { return m_predictionTargetHasBeenSet; }
74 inline void SetPredictionTarget(const Aws::String& value) { m_predictionTargetHasBeenSet = true; m_predictionTarget = value; }
75 inline void SetPredictionTarget(Aws::String&& value) { m_predictionTargetHasBeenSet = true; m_predictionTarget = std::move(value); }
76 inline void SetPredictionTarget(const char* value) { m_predictionTargetHasBeenSet = true; m_predictionTarget.assign(value); }
77 inline AcceptChoice& WithPredictionTarget(const Aws::String& value) { SetPredictionTarget(value); return *this;}
78 inline AcceptChoice& WithPredictionTarget(Aws::String&& value) { SetPredictionTarget(std::move(value)); return *this;}
79 inline AcceptChoice& WithPredictionTarget(const char* value) { SetPredictionTarget(value); return *this;}
81 private:
82
83 Aws::String m_editedValue;
84 bool m_editedValueHasBeenSet = false;
85
86 int m_predictionChoice;
87 bool m_predictionChoiceHasBeenSet = false;
88
89 Aws::String m_predictionTarget;
90 bool m_predictionTargetHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace DataZone
95} // namespace Aws
AcceptChoice & WithPredictionTarget(const char *value)
const Aws::String & GetPredictionTarget() const
AcceptChoice & WithPredictionTarget(const Aws::String &value)
void SetPredictionTarget(Aws::String &&value)
const Aws::String & GetEditedValue() const
AcceptChoice & WithEditedValue(const char *value)
AcceptChoice & WithEditedValue(Aws::String &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPredictionTarget(const char *value)
AWS_DATAZONE_API AcceptChoice & operator=(Aws::Utils::Json::JsonView jsonValue)
AcceptChoice & WithEditedValue(const Aws::String &value)
void SetPredictionTarget(const Aws::String &value)
void SetEditedValue(const Aws::String &value)
void SetEditedValue(const char *value)
AWS_DATAZONE_API AcceptChoice(Aws::Utils::Json::JsonView jsonValue)
void SetEditedValue(Aws::String &&value)
AcceptChoice & WithPredictionTarget(Aws::String &&value)
AcceptChoice & WithPredictionChoice(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue