AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CloudFormationCollection.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DevOpsGuru
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_DEVOPSGURU_API CloudFormationCollection() = default;
43 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::Vector<Aws::String>& GetStackNames() const { return m_stackNames; }
51 inline bool StackNamesHasBeenSet() const { return m_stackNamesHasBeenSet; }
52 template<typename StackNamesT = Aws::Vector<Aws::String>>
53 void SetStackNames(StackNamesT&& value) { m_stackNamesHasBeenSet = true; m_stackNames = std::forward<StackNamesT>(value); }
54 template<typename StackNamesT = Aws::Vector<Aws::String>>
55 CloudFormationCollection& WithStackNames(StackNamesT&& value) { SetStackNames(std::forward<StackNamesT>(value)); return *this;}
56 template<typename StackNamesT = Aws::String>
57 CloudFormationCollection& AddStackNames(StackNamesT&& value) { m_stackNamesHasBeenSet = true; m_stackNames.emplace_back(std::forward<StackNamesT>(value)); return *this; }
59 private:
60
61 Aws::Vector<Aws::String> m_stackNames;
62 bool m_stackNamesHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace DevOpsGuru
67} // namespace Aws
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSGURU_API CloudFormationCollection()=default
AWS_DEVOPSGURU_API CloudFormationCollection & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudFormationCollection & WithStackNames(StackNamesT &&value)
AWS_DEVOPSGURU_API CloudFormationCollection(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetStackNames() const
CloudFormationCollection & AddStackNames(StackNamesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue