AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CheckSummary.h
1
6#pragma once
7#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/trustedadvisor/model/RecommendationSource.h>
12#include <aws/trustedadvisor/model/RecommendationPillar.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace TrustedAdvisor
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_TRUSTEDADVISOR_API CheckSummary();
39 AWS_TRUSTEDADVISOR_API CheckSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRUSTEDADVISOR_API CheckSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline CheckSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline CheckSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline CheckSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetAwsServices() const{ return m_awsServices; }
63 inline bool AwsServicesHasBeenSet() const { return m_awsServicesHasBeenSet; }
64 inline void SetAwsServices(const Aws::Vector<Aws::String>& value) { m_awsServicesHasBeenSet = true; m_awsServices = value; }
65 inline void SetAwsServices(Aws::Vector<Aws::String>&& value) { m_awsServicesHasBeenSet = true; m_awsServices = std::move(value); }
66 inline CheckSummary& WithAwsServices(const Aws::Vector<Aws::String>& value) { SetAwsServices(value); return *this;}
67 inline CheckSummary& WithAwsServices(Aws::Vector<Aws::String>&& value) { SetAwsServices(std::move(value)); return *this;}
68 inline CheckSummary& AddAwsServices(const Aws::String& value) { m_awsServicesHasBeenSet = true; m_awsServices.push_back(value); return *this; }
69 inline CheckSummary& AddAwsServices(Aws::String&& value) { m_awsServicesHasBeenSet = true; m_awsServices.push_back(std::move(value)); return *this; }
70 inline CheckSummary& AddAwsServices(const char* value) { m_awsServicesHasBeenSet = true; m_awsServices.push_back(value); return *this; }
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline CheckSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline CheckSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline CheckSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
91 inline const Aws::String& GetId() const{ return m_id; }
92 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
93 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
94 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
95 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
96 inline CheckSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
97 inline CheckSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
98 inline CheckSummary& WithId(const char* value) { SetId(value); return *this;}
100
102
105 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
106 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
107 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
108 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
109 inline CheckSummary& WithMetadata(const Aws::Map<Aws::String, Aws::String>& value) { SetMetadata(value); return *this;}
110 inline CheckSummary& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
111 inline CheckSummary& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
112 inline CheckSummary& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
113 inline CheckSummary& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
114 inline CheckSummary& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; }
115 inline CheckSummary& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
116 inline CheckSummary& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
117 inline CheckSummary& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
119
121
124 inline const Aws::String& GetName() const{ return m_name; }
125 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
126 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
127 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
128 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
129 inline CheckSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
130 inline CheckSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
131 inline CheckSummary& WithName(const char* value) { SetName(value); return *this;}
133
135
138 inline const Aws::Vector<RecommendationPillar>& GetPillars() const{ return m_pillars; }
139 inline bool PillarsHasBeenSet() const { return m_pillarsHasBeenSet; }
140 inline void SetPillars(const Aws::Vector<RecommendationPillar>& value) { m_pillarsHasBeenSet = true; m_pillars = value; }
141 inline void SetPillars(Aws::Vector<RecommendationPillar>&& value) { m_pillarsHasBeenSet = true; m_pillars = std::move(value); }
142 inline CheckSummary& WithPillars(const Aws::Vector<RecommendationPillar>& value) { SetPillars(value); return *this;}
143 inline CheckSummary& WithPillars(Aws::Vector<RecommendationPillar>&& value) { SetPillars(std::move(value)); return *this;}
144 inline CheckSummary& AddPillars(const RecommendationPillar& value) { m_pillarsHasBeenSet = true; m_pillars.push_back(value); return *this; }
145 inline CheckSummary& AddPillars(RecommendationPillar&& value) { m_pillarsHasBeenSet = true; m_pillars.push_back(std::move(value)); return *this; }
147
149
152 inline const RecommendationSource& GetSource() const{ return m_source; }
153 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
154 inline void SetSource(const RecommendationSource& value) { m_sourceHasBeenSet = true; m_source = value; }
155 inline void SetSource(RecommendationSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
156 inline CheckSummary& WithSource(const RecommendationSource& value) { SetSource(value); return *this;}
157 inline CheckSummary& WithSource(RecommendationSource&& value) { SetSource(std::move(value)); return *this;}
159 private:
160
161 Aws::String m_arn;
162 bool m_arnHasBeenSet = false;
163
164 Aws::Vector<Aws::String> m_awsServices;
165 bool m_awsServicesHasBeenSet = false;
166
167 Aws::String m_description;
168 bool m_descriptionHasBeenSet = false;
169
170 Aws::String m_id;
171 bool m_idHasBeenSet = false;
172
174 bool m_metadataHasBeenSet = false;
175
176 Aws::String m_name;
177 bool m_nameHasBeenSet = false;
178
180 bool m_pillarsHasBeenSet = false;
181
182 RecommendationSource m_source;
183 bool m_sourceHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace TrustedAdvisor
188} // namespace Aws
CheckSummary & WithAwsServices(Aws::Vector< Aws::String > &&value)
CheckSummary & AddPillars(RecommendationPillar &&value)
CheckSummary & WithDescription(const char *value)
CheckSummary & WithId(const Aws::String &value)
CheckSummary & AddAwsServices(const char *value)
CheckSummary & AddAwsServices(const Aws::String &value)
CheckSummary & WithName(Aws::String &&value)
CheckSummary & AddMetadata(const char *key, const char *value)
const Aws::String & GetName() const
void SetDescription(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
CheckSummary & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetDescription(const char *value)
AWS_TRUSTEDADVISOR_API CheckSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RecommendationPillar > & GetPillars() const
CheckSummary & WithPillars(const Aws::Vector< RecommendationPillar > &value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
CheckSummary & WithId(Aws::String &&value)
CheckSummary & AddMetadata(const char *key, Aws::String &&value)
CheckSummary & WithDescription(Aws::String &&value)
void SetId(const Aws::String &value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetSource(RecommendationSource &&value)
void SetAwsServices(const Aws::Vector< Aws::String > &value)
void SetAwsServices(Aws::Vector< Aws::String > &&value)
void SetArn(const Aws::String &value)
CheckSummary & AddAwsServices(Aws::String &&value)
const RecommendationSource & GetSource() const
CheckSummary & AddPillars(const RecommendationPillar &value)
CheckSummary & WithName(const Aws::String &value)
CheckSummary & WithAwsServices(const Aws::Vector< Aws::String > &value)
AWS_TRUSTEDADVISOR_API CheckSummary()
CheckSummary & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetSource(const RecommendationSource &value)
void SetPillars(Aws::Vector< RecommendationPillar > &&value)
void SetName(const Aws::String &value)
void SetPillars(const Aws::Vector< RecommendationPillar > &value)
const Aws::Vector< Aws::String > & GetAwsServices() const
CheckSummary & WithPillars(Aws::Vector< RecommendationPillar > &&value)
CheckSummary & WithSource(const RecommendationSource &value)
CheckSummary & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
CheckSummary & WithArn(const char *value)
const Aws::String & GetDescription() const
CheckSummary & AddMetadata(const Aws::String &key, Aws::String &&value)
CheckSummary & AddMetadata(const Aws::String &key, const Aws::String &value)
AWS_TRUSTEDADVISOR_API CheckSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
CheckSummary & WithArn(const Aws::String &value)
CheckSummary & WithArn(Aws::String &&value)
const Aws::String & GetId() const
CheckSummary & AddMetadata(Aws::String &&key, Aws::String &&value)
CheckSummary & AddMetadata(Aws::String &&key, const Aws::String &value)
CheckSummary & WithId(const char *value)
CheckSummary & WithName(const char *value)
CheckSummary & AddMetadata(Aws::String &&key, const char *value)
CheckSummary & WithSource(RecommendationSource &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue