AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CloudFormationCollection.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsGuru {
21namespace Model {
22
34 public:
35 AWS_DEVOPSGURU_API CloudFormationCollection() = default;
38 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::Vector<Aws::String>& GetStackNames() const { return m_stackNames; }
45 inline bool StackNamesHasBeenSet() const { return m_stackNamesHasBeenSet; }
46 template <typename StackNamesT = Aws::Vector<Aws::String>>
47 void SetStackNames(StackNamesT&& value) {
48 m_stackNamesHasBeenSet = true;
49 m_stackNames = std::forward<StackNamesT>(value);
50 }
51 template <typename StackNamesT = Aws::Vector<Aws::String>>
53 SetStackNames(std::forward<StackNamesT>(value));
54 return *this;
55 }
56 template <typename StackNamesT = Aws::String>
58 m_stackNamesHasBeenSet = true;
59 m_stackNames.emplace_back(std::forward<StackNamesT>(value));
60 return *this;
61 }
63 private:
64 Aws::Vector<Aws::String> m_stackNames;
65 bool m_stackNamesHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace DevOpsGuru
70} // 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