AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdditionalResources.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/model/AdditionalResourceType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wellarchitected/model/ChoiceContent.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 WellArchitected
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_WELLARCHITECTED_API AdditionalResources();
39 AWS_WELLARCHITECTED_API AdditionalResources(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WELLARCHITECTED_API AdditionalResources& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const AdditionalResourceType& GetType() const{ return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(const AdditionalResourceType& value) { m_typeHasBeenSet = true; m_type = value; }
51 inline void SetType(AdditionalResourceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
52 inline AdditionalResources& WithType(const AdditionalResourceType& value) { SetType(value); return *this;}
53 inline AdditionalResources& WithType(AdditionalResourceType&& value) { SetType(std::move(value)); return *this;}
55
57
61 inline const Aws::Vector<ChoiceContent>& GetContent() const{ return m_content; }
62 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
63 inline void SetContent(const Aws::Vector<ChoiceContent>& value) { m_contentHasBeenSet = true; m_content = value; }
64 inline void SetContent(Aws::Vector<ChoiceContent>&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
65 inline AdditionalResources& WithContent(const Aws::Vector<ChoiceContent>& value) { SetContent(value); return *this;}
66 inline AdditionalResources& WithContent(Aws::Vector<ChoiceContent>&& value) { SetContent(std::move(value)); return *this;}
67 inline AdditionalResources& AddContent(const ChoiceContent& value) { m_contentHasBeenSet = true; m_content.push_back(value); return *this; }
68 inline AdditionalResources& AddContent(ChoiceContent&& value) { m_contentHasBeenSet = true; m_content.push_back(std::move(value)); return *this; }
70 private:
71
73 bool m_typeHasBeenSet = false;
74
76 bool m_contentHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace WellArchitected
81} // namespace Aws
AdditionalResources & WithType(const AdditionalResourceType &value)
void SetType(const AdditionalResourceType &value)
AdditionalResources & AddContent(ChoiceContent &&value)
AdditionalResources & WithType(AdditionalResourceType &&value)
void SetContent(Aws::Vector< ChoiceContent > &&value)
AdditionalResources & WithContent(const Aws::Vector< ChoiceContent > &value)
const AdditionalResourceType & GetType() const
AdditionalResources & WithContent(Aws::Vector< ChoiceContent > &&value)
AdditionalResources & AddContent(const ChoiceContent &value)
void SetType(AdditionalResourceType &&value)
AWS_WELLARCHITECTED_API AdditionalResources(Aws::Utils::Json::JsonView jsonValue)
void SetContent(const Aws::Vector< ChoiceContent > &value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ChoiceContent > & GetContent() const
AWS_WELLARCHITECTED_API AdditionalResources & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue