AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LaunchPathSummary.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/servicecatalog/model/ConstraintSummary.h>
11#include <aws/servicecatalog/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ServiceCatalog
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SERVICECATALOG_API LaunchPathSummary();
39 AWS_SERVICECATALOG_API LaunchPathSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SERVICECATALOG_API LaunchPathSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline LaunchPathSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline LaunchPathSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline LaunchPathSummary& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::Vector<ConstraintSummary>& GetConstraintSummaries() const{ return m_constraintSummaries; }
63 inline bool ConstraintSummariesHasBeenSet() const { return m_constraintSummariesHasBeenSet; }
64 inline void SetConstraintSummaries(const Aws::Vector<ConstraintSummary>& value) { m_constraintSummariesHasBeenSet = true; m_constraintSummaries = value; }
65 inline void SetConstraintSummaries(Aws::Vector<ConstraintSummary>&& value) { m_constraintSummariesHasBeenSet = true; m_constraintSummaries = std::move(value); }
68 inline LaunchPathSummary& AddConstraintSummaries(const ConstraintSummary& value) { m_constraintSummariesHasBeenSet = true; m_constraintSummaries.push_back(value); return *this; }
69 inline LaunchPathSummary& AddConstraintSummaries(ConstraintSummary&& value) { m_constraintSummariesHasBeenSet = true; m_constraintSummaries.push_back(std::move(value)); return *this; }
71
73
76 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
77 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
78 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
79 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
80 inline LaunchPathSummary& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
81 inline LaunchPathSummary& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
82 inline LaunchPathSummary& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
83 inline LaunchPathSummary& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
85
87
90 inline const Aws::String& GetName() const{ return m_name; }
91 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
92 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
93 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
94 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
95 inline LaunchPathSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
96 inline LaunchPathSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
97 inline LaunchPathSummary& WithName(const char* value) { SetName(value); return *this;}
99 private:
100
101 Aws::String m_id;
102 bool m_idHasBeenSet = false;
103
104 Aws::Vector<ConstraintSummary> m_constraintSummaries;
105 bool m_constraintSummariesHasBeenSet = false;
106
107 Aws::Vector<Tag> m_tags;
108 bool m_tagsHasBeenSet = false;
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace ServiceCatalog
116} // namespace Aws
void SetTags(const Aws::Vector< Tag > &value)
void SetTags(Aws::Vector< Tag > &&value)
LaunchPathSummary & WithTags(Aws::Vector< Tag > &&value)
LaunchPathSummary & WithName(const char *value)
const Aws::Vector< ConstraintSummary > & GetConstraintSummaries() const
LaunchPathSummary & WithName(const Aws::String &value)
LaunchPathSummary & WithConstraintSummaries(const Aws::Vector< ConstraintSummary > &value)
LaunchPathSummary & WithTags(const Aws::Vector< Tag > &value)
LaunchPathSummary & WithId(const char *value)
LaunchPathSummary & WithId(Aws::String &&value)
void SetConstraintSummaries(Aws::Vector< ConstraintSummary > &&value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConstraintSummaries(const Aws::Vector< ConstraintSummary > &value)
LaunchPathSummary & AddConstraintSummaries(ConstraintSummary &&value)
AWS_SERVICECATALOG_API LaunchPathSummary(Aws::Utils::Json::JsonView jsonValue)
LaunchPathSummary & AddTags(Tag &&value)
LaunchPathSummary & WithConstraintSummaries(Aws::Vector< ConstraintSummary > &&value)
LaunchPathSummary & WithName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
LaunchPathSummary & AddConstraintSummaries(const ConstraintSummary &value)
AWS_SERVICECATALOG_API LaunchPathSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LaunchPathSummary & WithId(const Aws::String &value)
LaunchPathSummary & AddTags(const Tag &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue