AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceCollection.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/model/CloudFormationCollection.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devops-guru/model/TagCollection.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 DevOpsGuru
24{
25namespace Model
26{
27
40 {
41 public:
42 AWS_DEVOPSGURU_API ResourceCollection();
43 AWS_DEVOPSGURU_API ResourceCollection(Aws::Utils::Json::JsonView jsonValue);
45 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
54 inline const CloudFormationCollection& GetCloudFormation() const{ return m_cloudFormation; }
55 inline bool CloudFormationHasBeenSet() const { return m_cloudFormationHasBeenSet; }
56 inline void SetCloudFormation(const CloudFormationCollection& value) { m_cloudFormationHasBeenSet = true; m_cloudFormation = value; }
57 inline void SetCloudFormation(CloudFormationCollection&& value) { m_cloudFormationHasBeenSet = true; m_cloudFormation = std::move(value); }
59 inline ResourceCollection& WithCloudFormation(CloudFormationCollection&& value) { SetCloudFormation(std::move(value)); return *this;}
61
63
93 inline const Aws::Vector<TagCollection>& GetTags() const{ return m_tags; }
94 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
95 inline void SetTags(const Aws::Vector<TagCollection>& value) { m_tagsHasBeenSet = true; m_tags = value; }
96 inline void SetTags(Aws::Vector<TagCollection>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
97 inline ResourceCollection& WithTags(const Aws::Vector<TagCollection>& value) { SetTags(value); return *this;}
98 inline ResourceCollection& WithTags(Aws::Vector<TagCollection>&& value) { SetTags(std::move(value)); return *this;}
99 inline ResourceCollection& AddTags(const TagCollection& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
100 inline ResourceCollection& AddTags(TagCollection&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
102 private:
103
104 CloudFormationCollection m_cloudFormation;
105 bool m_cloudFormationHasBeenSet = false;
106
108 bool m_tagsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace DevOpsGuru
113} // namespace Aws
ResourceCollection & AddTags(TagCollection &&value)
ResourceCollection & WithCloudFormation(const CloudFormationCollection &value)
ResourceCollection & WithTags(Aws::Vector< TagCollection > &&value)
AWS_DEVOPSGURU_API ResourceCollection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API ResourceCollection(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TagCollection > & GetTags() const
void SetTags(const Aws::Vector< TagCollection > &value)
ResourceCollection & AddTags(const TagCollection &value)
void SetCloudFormation(CloudFormationCollection &&value)
ResourceCollection & WithCloudFormation(CloudFormationCollection &&value)
void SetCloudFormation(const CloudFormationCollection &value)
ResourceCollection & WithTags(const Aws::Vector< TagCollection > &value)
void SetTags(Aws::Vector< TagCollection > &&value)
const CloudFormationCollection & GetCloudFormation() const
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue