AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
49 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
50 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
51 inline ConstraintSummary& WithType(const Aws::String& value) { SetType(value); return *this;}
52 inline ConstraintSummary& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
53 inline ConstraintSummary& WithType(const char* value) { SetType(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline ConstraintSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline ConstraintSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline ConstraintSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
69 private:
70
71 Aws::String m_type;
72 bool m_typeHasBeenSet = false;
73
74 Aws::String m_description;
75 bool m_descriptionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ServiceCatalog
80} // namespace Aws
AWS_SERVICECATALOG_API ConstraintSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ConstraintSummary & WithType(Aws::String &&value)
void SetDescription(const Aws::String &value)
ConstraintSummary & WithType(const Aws::String &value)
ConstraintSummary & WithType(const char *value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ConstraintSummary & WithDescription(const Aws::String &value)
AWS_SERVICECATALOG_API ConstraintSummary(Aws::Utils::Json::JsonView jsonValue)
ConstraintSummary & WithDescription(Aws::String &&value)
ConstraintSummary & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue