AWS SDK for C++  0.14.3
AWS SDK for C++
LaunchPathSummary.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
21 
22 namespace Aws
23 {
24 namespace Utils
25 {
26 namespace Json
27 {
28  class JsonValue;
29 } // namespace Json
30 } // namespace Utils
31 namespace ServiceCatalog
32 {
33 namespace Model
34 {
35 
41  {
42  public:
45  LaunchPathSummary& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
46  Aws::Utils::Json::JsonValue Jsonize() const;
47 
51  inline const Aws::String& GetId() const{ return m_id; }
52 
56  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 
61  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = value; }
62 
66  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 
71  inline LaunchPathSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
72 
76  inline LaunchPathSummary& WithId(Aws::String&& value) { SetId(value); return *this;}
77 
81  inline LaunchPathSummary& WithId(const char* value) { SetId(value); return *this;}
82 
86  inline const Aws::Vector<ConstraintSummary>& GetConstraintSummaries() const{ return m_constraintSummaries; }
87 
91  inline void SetConstraintSummaries(const Aws::Vector<ConstraintSummary>& value) { m_constraintSummariesHasBeenSet = true; m_constraintSummaries = value; }
92 
96  inline void SetConstraintSummaries(Aws::Vector<ConstraintSummary>&& value) { m_constraintSummariesHasBeenSet = true; m_constraintSummaries = value; }
97 
101  inline LaunchPathSummary& WithConstraintSummaries(const Aws::Vector<ConstraintSummary>& value) { SetConstraintSummaries(value); return *this;}
102 
106  inline LaunchPathSummary& WithConstraintSummaries(Aws::Vector<ConstraintSummary>&& value) { SetConstraintSummaries(value); return *this;}
107 
111  inline LaunchPathSummary& AddConstraintSummaries(const ConstraintSummary& value) { m_constraintSummariesHasBeenSet = true; m_constraintSummaries.push_back(value); return *this; }
112 
116  inline LaunchPathSummary& AddConstraintSummaries(ConstraintSummary&& value) { m_constraintSummariesHasBeenSet = true; m_constraintSummaries.push_back(value); return *this; }
117 
121  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
122 
126  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
127 
131  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = value; }
132 
136  inline LaunchPathSummary& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
137 
141  inline LaunchPathSummary& WithTags(Aws::Vector<Tag>&& value) { SetTags(value); return *this;}
142 
146  inline LaunchPathSummary& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
147 
151  inline LaunchPathSummary& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
152 
156  inline const Aws::String& GetName() const{ return m_name; }
157 
161  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
162 
166  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
167 
171  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
172 
176  inline LaunchPathSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
177 
181  inline LaunchPathSummary& WithName(Aws::String&& value) { SetName(value); return *this;}
182 
186  inline LaunchPathSummary& WithName(const char* value) { SetName(value); return *this;}
187 
188  private:
189  Aws::String m_id;
190  bool m_idHasBeenSet;
191  Aws::Vector<ConstraintSummary> m_constraintSummaries;
192  bool m_constraintSummariesHasBeenSet;
193  Aws::Vector<Tag> m_tags;
194  bool m_tagsHasBeenSet;
195  Aws::String m_name;
196  bool m_nameHasBeenSet;
197  };
198 
199 } // namespace Model
200 } // namespace ServiceCatalog
201 } // namespace Aws
void SetTags(Aws::Vector< Tag > &&value)
LaunchPathSummary & WithConstraintSummaries(Aws::Vector< ConstraintSummary > &&value)
LaunchPathSummary & WithId(const Aws::String &value)
#define AWS_SERVICECATALOG_API
const Aws::Vector< Tag > & GetTags() const
LaunchPathSummary & AddConstraintSummaries(ConstraintSummary &&value)
const Aws::Vector< ConstraintSummary > & GetConstraintSummaries() const
LaunchPathSummary & WithName(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
LaunchPathSummary & WithName(const Aws::String &value)
LaunchPathSummary & WithId(Aws::String &&value)
LaunchPathSummary & WithConstraintSummaries(const Aws::Vector< ConstraintSummary > &value)
LaunchPathSummary & WithName(Aws::String &&value)
LaunchPathSummary & AddTags(Tag &&value)
void SetConstraintSummaries(Aws::Vector< ConstraintSummary > &&value)
LaunchPathSummary & AddTags(const Tag &value)
LaunchPathSummary & WithTags(const Aws::Vector< Tag > &value)
LaunchPathSummary & AddConstraintSummaries(const ConstraintSummary &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetConstraintSummaries(const Aws::Vector< ConstraintSummary > &value)
LaunchPathSummary & WithTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
LaunchPathSummary & WithId(const char *value)
JSON (JavaScript Object Notation).