AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TreatmentConfig.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_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 CloudWatchEvidently
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CLOUDWATCHEVIDENTLY_API TreatmentConfig();
37 AWS_CLOUDWATCHEVIDENTLY_API TreatmentConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDWATCHEVIDENTLY_API TreatmentConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDescription() const{ return m_description; }
47 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
48 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
49 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
50 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
51 inline TreatmentConfig& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
52 inline TreatmentConfig& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
53 inline TreatmentConfig& WithDescription(const char* value) { SetDescription(value); return *this;}
55
57
60 inline const Aws::String& GetFeature() const{ return m_feature; }
61 inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; }
62 inline void SetFeature(const Aws::String& value) { m_featureHasBeenSet = true; m_feature = value; }
63 inline void SetFeature(Aws::String&& value) { m_featureHasBeenSet = true; m_feature = std::move(value); }
64 inline void SetFeature(const char* value) { m_featureHasBeenSet = true; m_feature.assign(value); }
65 inline TreatmentConfig& WithFeature(const Aws::String& value) { SetFeature(value); return *this;}
66 inline TreatmentConfig& WithFeature(Aws::String&& value) { SetFeature(std::move(value)); return *this;}
67 inline TreatmentConfig& WithFeature(const char* value) { SetFeature(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline TreatmentConfig& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline TreatmentConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline TreatmentConfig& WithName(const char* value) { SetName(value); return *this;}
83
85
88 inline const Aws::String& GetVariation() const{ return m_variation; }
89 inline bool VariationHasBeenSet() const { return m_variationHasBeenSet; }
90 inline void SetVariation(const Aws::String& value) { m_variationHasBeenSet = true; m_variation = value; }
91 inline void SetVariation(Aws::String&& value) { m_variationHasBeenSet = true; m_variation = std::move(value); }
92 inline void SetVariation(const char* value) { m_variationHasBeenSet = true; m_variation.assign(value); }
93 inline TreatmentConfig& WithVariation(const Aws::String& value) { SetVariation(value); return *this;}
94 inline TreatmentConfig& WithVariation(Aws::String&& value) { SetVariation(std::move(value)); return *this;}
95 inline TreatmentConfig& WithVariation(const char* value) { SetVariation(value); return *this;}
97 private:
98
99 Aws::String m_description;
100 bool m_descriptionHasBeenSet = false;
101
102 Aws::String m_feature;
103 bool m_featureHasBeenSet = false;
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
108 Aws::String m_variation;
109 bool m_variationHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace CloudWatchEvidently
114} // namespace Aws
TreatmentConfig & WithName(Aws::String &&value)
void SetDescription(const Aws::String &value)
TreatmentConfig & WithDescription(const char *value)
TreatmentConfig & WithDescription(const Aws::String &value)
TreatmentConfig & WithFeature(Aws::String &&value)
TreatmentConfig & WithVariation(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API TreatmentConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHEVIDENTLY_API TreatmentConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVIDENTLY_API TreatmentConfig()
TreatmentConfig & WithName(const Aws::String &value)
TreatmentConfig & WithDescription(Aws::String &&value)
TreatmentConfig & WithFeature(const Aws::String &value)
TreatmentConfig & WithVariation(Aws::String &&value)
TreatmentConfig & WithFeature(const char *value)
TreatmentConfig & WithName(const char *value)
TreatmentConfig & WithVariation(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue