AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TrustedAdvisorCheckDescription.h
1
6#pragma once
7#include <aws/support/Support_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 Support
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SUPPORT_API TrustedAdvisorCheckDescription() = default;
39 AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 TrustedAdvisorCheckDescription& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 TrustedAdvisorCheckDescription& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 TrustedAdvisorCheckDescription& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
83 inline const Aws::String& GetCategory() const { return m_category; }
84 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
85 template<typename CategoryT = Aws::String>
86 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
87 template<typename CategoryT = Aws::String>
88 TrustedAdvisorCheckDescription& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
90
92
99 inline const Aws::Vector<Aws::String>& GetMetadata() const { return m_metadata; }
100 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
101 template<typename MetadataT = Aws::Vector<Aws::String>>
102 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
103 template<typename MetadataT = Aws::Vector<Aws::String>>
104 TrustedAdvisorCheckDescription& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
105 template<typename MetadataT = Aws::String>
106 TrustedAdvisorCheckDescription& AddMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata.emplace_back(std::forward<MetadataT>(value)); return *this; }
108 private:
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_description;
117 bool m_descriptionHasBeenSet = false;
118
119 Aws::String m_category;
120 bool m_categoryHasBeenSet = false;
121
122 Aws::Vector<Aws::String> m_metadata;
123 bool m_metadataHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Support
128} // namespace Aws
AWS_SUPPORT_API TrustedAdvisorCheckDescription(Aws::Utils::Json::JsonView jsonValue)
TrustedAdvisorCheckDescription & WithMetadata(MetadataT &&value)
AWS_SUPPORT_API TrustedAdvisorCheckDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPORT_API TrustedAdvisorCheckDescription()=default
TrustedAdvisorCheckDescription & WithDescription(DescriptionT &&value)
TrustedAdvisorCheckDescription & AddMetadata(MetadataT &&value)
TrustedAdvisorCheckDescription & WithCategory(CategoryT &&value)
TrustedAdvisorCheckDescription & WithName(NameT &&value)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
TrustedAdvisorCheckDescription & WithId(IdT &&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