AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationSource.h
1
6#pragma once
7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/autoscaling-plans/model/TagFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AutoScalingPlans
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_AUTOSCALINGPLANS_API ApplicationSource();
37 AWS_AUTOSCALINGPLANS_API ApplicationSource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AUTOSCALINGPLANS_API ApplicationSource& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AUTOSCALINGPLANS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetCloudFormationStackARN() const{ return m_cloudFormationStackARN; }
47 inline bool CloudFormationStackARNHasBeenSet() const { return m_cloudFormationStackARNHasBeenSet; }
48 inline void SetCloudFormationStackARN(const Aws::String& value) { m_cloudFormationStackARNHasBeenSet = true; m_cloudFormationStackARN = value; }
49 inline void SetCloudFormationStackARN(Aws::String&& value) { m_cloudFormationStackARNHasBeenSet = true; m_cloudFormationStackARN = std::move(value); }
50 inline void SetCloudFormationStackARN(const char* value) { m_cloudFormationStackARNHasBeenSet = true; m_cloudFormationStackARN.assign(value); }
52 inline ApplicationSource& WithCloudFormationStackARN(Aws::String&& value) { SetCloudFormationStackARN(std::move(value)); return *this;}
53 inline ApplicationSource& WithCloudFormationStackARN(const char* value) { SetCloudFormationStackARN(value); return *this;}
55
57
60 inline const Aws::Vector<TagFilter>& GetTagFilters() const{ return m_tagFilters; }
61 inline bool TagFiltersHasBeenSet() const { return m_tagFiltersHasBeenSet; }
62 inline void SetTagFilters(const Aws::Vector<TagFilter>& value) { m_tagFiltersHasBeenSet = true; m_tagFilters = value; }
63 inline void SetTagFilters(Aws::Vector<TagFilter>&& value) { m_tagFiltersHasBeenSet = true; m_tagFilters = std::move(value); }
64 inline ApplicationSource& WithTagFilters(const Aws::Vector<TagFilter>& value) { SetTagFilters(value); return *this;}
65 inline ApplicationSource& WithTagFilters(Aws::Vector<TagFilter>&& value) { SetTagFilters(std::move(value)); return *this;}
66 inline ApplicationSource& AddTagFilters(const TagFilter& value) { m_tagFiltersHasBeenSet = true; m_tagFilters.push_back(value); return *this; }
67 inline ApplicationSource& AddTagFilters(TagFilter&& value) { m_tagFiltersHasBeenSet = true; m_tagFilters.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::String m_cloudFormationStackARN;
72 bool m_cloudFormationStackARNHasBeenSet = false;
73
74 Aws::Vector<TagFilter> m_tagFilters;
75 bool m_tagFiltersHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace AutoScalingPlans
80} // namespace Aws
AWS_AUTOSCALINGPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTagFilters(Aws::Vector< TagFilter > &&value)
ApplicationSource & WithCloudFormationStackARN(const Aws::String &value)
AWS_AUTOSCALINGPLANS_API ApplicationSource(Aws::Utils::Json::JsonView jsonValue)
AWS_AUTOSCALINGPLANS_API ApplicationSource()
const Aws::Vector< TagFilter > & GetTagFilters() const
void SetTagFilters(const Aws::Vector< TagFilter > &value)
AWS_AUTOSCALINGPLANS_API ApplicationSource & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationSource & AddTagFilters(TagFilter &&value)
ApplicationSource & WithCloudFormationStackARN(const char *value)
const Aws::String & GetCloudFormationStackARN() const
void SetCloudFormationStackARN(const Aws::String &value)
ApplicationSource & WithTagFilters(Aws::Vector< TagFilter > &&value)
ApplicationSource & WithCloudFormationStackARN(Aws::String &&value)
ApplicationSource & WithTagFilters(const Aws::Vector< TagFilter > &value)
ApplicationSource & AddTagFilters(const TagFilter &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