AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ConstraintSummary.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_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 ServiceCatalog
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SERVICECATALOG_API ConstraintSummary() = default;
35 AWS_SERVICECATALOG_API ConstraintSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SERVICECATALOG_API ConstraintSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline const Aws::String& GetType() const { return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 template<typename TypeT = Aws::String>
49 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
50 template<typename TypeT = Aws::String>
51 ConstraintSummary& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template<typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 ConstraintSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65 private:
66
67 Aws::String m_type;
68 bool m_typeHasBeenSet = false;
69
70 Aws::String m_description;
71 bool m_descriptionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ServiceCatalog
76} // namespace Aws
AWS_SERVICECATALOG_API ConstraintSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ConstraintSummary & WithDescription(DescriptionT &&value)
AWS_SERVICECATALOG_API ConstraintSummary()=default
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ConstraintSummary & WithType(TypeT &&value)
AWS_SERVICECATALOG_API ConstraintSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue