AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline TrustedAdvisorCheckDescription& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline TrustedAdvisorCheckDescription& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline TrustedAdvisorCheckDescription& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline TrustedAdvisorCheckDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline TrustedAdvisorCheckDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline TrustedAdvisorCheckDescription& WithName(const char* value) { SetName(value); return *this;}
69
71
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline TrustedAdvisorCheckDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline TrustedAdvisorCheckDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline TrustedAdvisorCheckDescription& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::String& GetCategory() const{ return m_category; }
90 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
91 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
92 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
93 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
94 inline TrustedAdvisorCheckDescription& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
95 inline TrustedAdvisorCheckDescription& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
96 inline TrustedAdvisorCheckDescription& WithCategory(const char* value) { SetCategory(value); return *this;}
98
100
107 inline const Aws::Vector<Aws::String>& GetMetadata() const{ return m_metadata; }
108 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
109 inline void SetMetadata(const Aws::Vector<Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
110 inline void SetMetadata(Aws::Vector<Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
112 inline TrustedAdvisorCheckDescription& WithMetadata(Aws::Vector<Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
113 inline TrustedAdvisorCheckDescription& AddMetadata(const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.push_back(value); return *this; }
114 inline TrustedAdvisorCheckDescription& AddMetadata(Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.push_back(std::move(value)); return *this; }
115 inline TrustedAdvisorCheckDescription& AddMetadata(const char* value) { m_metadataHasBeenSet = true; m_metadata.push_back(value); return *this; }
117 private:
118
119 Aws::String m_id;
120 bool m_idHasBeenSet = false;
121
122 Aws::String m_name;
123 bool m_nameHasBeenSet = false;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127
128 Aws::String m_category;
129 bool m_categoryHasBeenSet = false;
130
131 Aws::Vector<Aws::String> m_metadata;
132 bool m_metadataHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Support
137} // namespace Aws
TrustedAdvisorCheckDescription & WithName(const Aws::String &value)
TrustedAdvisorCheckDescription & WithMetadata(const Aws::Vector< Aws::String > &value)
TrustedAdvisorCheckDescription & WithId(Aws::String &&value)
TrustedAdvisorCheckDescription & WithDescription(const Aws::String &value)
AWS_SUPPORT_API TrustedAdvisorCheckDescription(Aws::Utils::Json::JsonView jsonValue)
TrustedAdvisorCheckDescription & WithMetadata(Aws::Vector< Aws::String > &&value)
AWS_SUPPORT_API TrustedAdvisorCheckDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
TrustedAdvisorCheckDescription & WithCategory(const char *value)
TrustedAdvisorCheckDescription & WithDescription(Aws::String &&value)
TrustedAdvisorCheckDescription & WithName(const char *value)
TrustedAdvisorCheckDescription & WithDescription(const char *value)
TrustedAdvisorCheckDescription & AddMetadata(Aws::String &&value)
TrustedAdvisorCheckDescription & WithCategory(const Aws::String &value)
TrustedAdvisorCheckDescription & AddMetadata(const Aws::String &value)
TrustedAdvisorCheckDescription & WithName(Aws::String &&value)
TrustedAdvisorCheckDescription & WithCategory(Aws::String &&value)
TrustedAdvisorCheckDescription & WithId(const Aws::String &value)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
TrustedAdvisorCheckDescription & AddMetadata(const char *value)
TrustedAdvisorCheckDescription & WithId(const char *value)
void SetMetadata(const Aws::Vector< Aws::String > &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