AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ConstraintT = Aws::String>
49 void SetConstraint(ConstraintT&& value) { m_constraintHasBeenSet = true; m_constraint = std::forward<ConstraintT>(value); }
50 template<typename ConstraintT = Aws::String>
51 InvalidConfigurationDetail& WithConstraint(ConstraintT&& value) { SetConstraint(std::forward<ConstraintT>(value)); return *this;}
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) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
63 template<typename LocationT = Aws::String>
64 InvalidConfigurationDetail& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
66
68
71 inline const Aws::String& GetReason() const { return m_reason; }
72 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
73 template<typename ReasonT = Aws::String>
74 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
75 template<typename ReasonT = Aws::String>
76 InvalidConfigurationDetail& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
78
80
83 inline const Aws::String& GetType() const { return m_type; }
84 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
85 template<typename TypeT = Aws::String>
86 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
87 template<typename TypeT = Aws::String>
88 InvalidConfigurationDetail& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
90
92
96 inline const Aws::String& GetValue() const { return m_value; }
97 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
98 template<typename ValueT = Aws::String>
99 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
100 template<typename ValueT = Aws::String>
101 InvalidConfigurationDetail& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
103 private:
104
105 Aws::String m_constraint;
106 bool m_constraintHasBeenSet = false;
107
108 Aws::String m_location;
109 bool m_locationHasBeenSet = false;
110
111 Aws::String m_reason;
112 bool m_reasonHasBeenSet = false;
113
114 Aws::String m_type;
115 bool m_typeHasBeenSet = false;
116
117 Aws::String m_value;
118 bool m_valueHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace AppConfig
123} // 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