AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidConfigurationDetail.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_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 AppConfig
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPCONFIG_API InvalidConfigurationDetail();
38 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetConstraint() const{ return m_constraint; }
47 inline bool ConstraintHasBeenSet() const { return m_constraintHasBeenSet; }
48 inline void SetConstraint(const Aws::String& value) { m_constraintHasBeenSet = true; m_constraint = value; }
49 inline void SetConstraint(Aws::String&& value) { m_constraintHasBeenSet = true; m_constraint = std::move(value); }
50 inline void SetConstraint(const char* value) { m_constraintHasBeenSet = true; m_constraint.assign(value); }
51 inline InvalidConfigurationDetail& WithConstraint(const Aws::String& value) { SetConstraint(value); return *this;}
52 inline InvalidConfigurationDetail& WithConstraint(Aws::String&& value) { SetConstraint(std::move(value)); return *this;}
53 inline InvalidConfigurationDetail& WithConstraint(const char* value) { SetConstraint(value); return *this;}
55
57
61 inline const Aws::String& GetLocation() const{ return m_location; }
62 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
63 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
64 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
65 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
66 inline InvalidConfigurationDetail& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
67 inline InvalidConfigurationDetail& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
68 inline InvalidConfigurationDetail& WithLocation(const char* value) { SetLocation(value); return *this;}
70
72
75 inline const Aws::String& GetReason() const{ return m_reason; }
76 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
77 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
78 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
79 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
80 inline InvalidConfigurationDetail& WithReason(const Aws::String& value) { SetReason(value); return *this;}
81 inline InvalidConfigurationDetail& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
82 inline InvalidConfigurationDetail& WithReason(const char* value) { SetReason(value); return *this;}
84
86
89 inline const Aws::String& GetType() const{ return m_type; }
90 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
91 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
92 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
93 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
94 inline InvalidConfigurationDetail& WithType(const Aws::String& value) { SetType(value); return *this;}
95 inline InvalidConfigurationDetail& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
96 inline InvalidConfigurationDetail& WithType(const char* value) { SetType(value); return *this;}
98
100
104 inline const Aws::String& GetValue() const{ return m_value; }
105 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
106 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
107 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
108 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
109 inline InvalidConfigurationDetail& WithValue(const Aws::String& value) { SetValue(value); return *this;}
110 inline InvalidConfigurationDetail& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
111 inline InvalidConfigurationDetail& WithValue(const char* value) { SetValue(value); return *this;}
113 private:
114
115 Aws::String m_constraint;
116 bool m_constraintHasBeenSet = false;
117
118 Aws::String m_location;
119 bool m_locationHasBeenSet = false;
120
121 Aws::String m_reason;
122 bool m_reasonHasBeenSet = false;
123
124 Aws::String m_type;
125 bool m_typeHasBeenSet = false;
126
127 Aws::String m_value;
128 bool m_valueHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace AppConfig
133} // namespace Aws
InvalidConfigurationDetail & WithConstraint(Aws::String &&value)
InvalidConfigurationDetail & WithReason(const char *value)
InvalidConfigurationDetail & WithLocation(const char *value)
InvalidConfigurationDetail & WithValue(const char *value)
InvalidConfigurationDetail & WithLocation(const Aws::String &value)
InvalidConfigurationDetail & WithType(const Aws::String &value)
InvalidConfigurationDetail & WithReason(Aws::String &&value)
InvalidConfigurationDetail & WithLocation(Aws::String &&value)
InvalidConfigurationDetail & WithConstraint(const Aws::String &value)
InvalidConfigurationDetail & WithReason(const Aws::String &value)
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
InvalidConfigurationDetail & WithValue(const Aws::String &value)
AWS_APPCONFIG_API InvalidConfigurationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPCONFIG_API InvalidConfigurationDetail(Aws::Utils::Json::JsonView jsonValue)
InvalidConfigurationDetail & WithType(Aws::String &&value)
InvalidConfigurationDetail & WithType(const char *value)
InvalidConfigurationDetail & WithValue(Aws::String &&value)
InvalidConfigurationDetail & WithConstraint(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue