AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 LaunchPathSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::Vector<ConstraintSummary>& GetConstraintSummaries() const { return m_constraintSummaries; }
61 inline bool ConstraintSummariesHasBeenSet() const { return m_constraintSummariesHasBeenSet; }
62 template<typename ConstraintSummariesT = Aws::Vector<ConstraintSummary>>
63 void SetConstraintSummaries(ConstraintSummariesT&& value) { m_constraintSummariesHasBeenSet = true; m_constraintSummaries = std::forward<ConstraintSummariesT>(value); }
64 template<typename ConstraintSummariesT = Aws::Vector<ConstraintSummary>>
65 LaunchPathSummary& WithConstraintSummaries(ConstraintSummariesT&& value) { SetConstraintSummaries(std::forward<ConstraintSummariesT>(value)); return *this;}
66 template<typename ConstraintSummariesT = ConstraintSummary>
67 LaunchPathSummary& AddConstraintSummaries(ConstraintSummariesT&& value) { m_constraintSummariesHasBeenSet = true; m_constraintSummaries.emplace_back(std::forward<ConstraintSummariesT>(value)); return *this; }
69
71
74 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
75 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
76 template<typename TagsT = Aws::Vector<Tag>>
77 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
78 template<typename TagsT = Aws::Vector<Tag>>
79 LaunchPathSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
80 template<typename TagsT = Tag>
81 LaunchPathSummary& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
83
85
88 inline const Aws::String& GetName() const { return m_name; }
89 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 template<typename NameT = Aws::String>
91 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
92 template<typename NameT = Aws::String>
93 LaunchPathSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
95 private:
96
97 Aws::String m_id;
98 bool m_idHasBeenSet = false;
99
100 Aws::Vector<ConstraintSummary> m_constraintSummaries;
101 bool m_constraintSummariesHasBeenSet = false;
102
103 Aws::Vector<Tag> m_tags;
104 bool m_tagsHasBeenSet = false;
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ServiceCatalog
112} // namespace Aws
LaunchPathSummary & AddTags(TagsT &&value)
LaunchPathSummary & WithTags(TagsT &&value)
const Aws::Vector< ConstraintSummary > & GetConstraintSummaries() const
LaunchPathSummary & WithId(IdT &&value)
LaunchPathSummary & WithConstraintSummaries(ConstraintSummariesT &&value)
void SetConstraintSummaries(ConstraintSummariesT &&value)
AWS_SERVICECATALOG_API LaunchPathSummary()=default
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVICECATALOG_API LaunchPathSummary(Aws::Utils::Json::JsonView jsonValue)
LaunchPathSummary & WithName(NameT &&value)
const Aws::Vector< Tag > & GetTags() const
LaunchPathSummary & AddConstraintSummaries(ConstraintSummariesT &&value)
AWS_SERVICECATALOG_API LaunchPathSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue