AWS SDK for C++

AWS SDK for C++ Version 1.11.752

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppConfig {
20namespace Model {
21
29 public:
30 AWS_APPCONFIG_API InvalidConfigurationDetail() = default;
33 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetConstraint() const { return m_constraint; }
41 inline bool ConstraintHasBeenSet() const { return m_constraintHasBeenSet; }
42 template <typename ConstraintT = Aws::String>
43 void SetConstraint(ConstraintT&& value) {
44 m_constraintHasBeenSet = true;
45 m_constraint = std::forward<ConstraintT>(value);
46 }
47 template <typename ConstraintT = Aws::String>
49 SetConstraint(std::forward<ConstraintT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetLocation() const { return m_location; }
60 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
61 template <typename LocationT = Aws::String>
62 void SetLocation(LocationT&& value) {
63 m_locationHasBeenSet = true;
64 m_location = std::forward<LocationT>(value);
65 }
66 template <typename LocationT = Aws::String>
68 SetLocation(std::forward<LocationT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetReason() const { return m_reason; }
78 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
79 template <typename ReasonT = Aws::String>
80 void SetReason(ReasonT&& value) {
81 m_reasonHasBeenSet = true;
82 m_reason = std::forward<ReasonT>(value);
83 }
84 template <typename ReasonT = Aws::String>
86 SetReason(std::forward<ReasonT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetType() const { return m_type; }
96 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
97 template <typename TypeT = Aws::String>
98 void SetType(TypeT&& value) {
99 m_typeHasBeenSet = true;
100 m_type = std::forward<TypeT>(value);
101 }
102 template <typename TypeT = Aws::String>
104 SetType(std::forward<TypeT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::String& GetValue() const { return m_value; }
115 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
116 template <typename ValueT = Aws::String>
117 void SetValue(ValueT&& value) {
118 m_valueHasBeenSet = true;
119 m_value = std::forward<ValueT>(value);
120 }
121 template <typename ValueT = Aws::String>
123 SetValue(std::forward<ValueT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_constraint;
129
130 Aws::String m_location;
131
132 Aws::String m_reason;
133
134 Aws::String m_type;
135
136 Aws::String m_value;
137 bool m_constraintHasBeenSet = false;
138 bool m_locationHasBeenSet = false;
139 bool m_reasonHasBeenSet = false;
140 bool m_typeHasBeenSet = false;
141 bool m_valueHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace AppConfig
146} // namespace Aws
AWS_APPCONFIG_API InvalidConfigurationDetail()=default
InvalidConfigurationDetail & WithType(TypeT &&value)
InvalidConfigurationDetail & WithValue(ValueT &&value)
InvalidConfigurationDetail & WithReason(ReasonT &&value)
InvalidConfigurationDetail & WithConstraint(ConstraintT &&value)
InvalidConfigurationDetail & WithLocation(LocationT &&value)
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPCONFIG_API InvalidConfigurationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPCONFIG_API InvalidConfigurationDetail(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue