AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrustedAdvisorCheckResult.h
1
6#pragma once
7#include <aws/support/Support_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/support/model/TrustedAdvisorResourcesSummary.h>
10#include <aws/support/model/TrustedAdvisorCategorySpecificSummary.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/support/model/TrustedAdvisorResourceDetail.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 Support
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SUPPORT_API TrustedAdvisorCheckResult();
42 AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetCheckId() const{ return m_checkId; }
50 inline bool CheckIdHasBeenSet() const { return m_checkIdHasBeenSet; }
51 inline void SetCheckId(const Aws::String& value) { m_checkIdHasBeenSet = true; m_checkId = value; }
52 inline void SetCheckId(Aws::String&& value) { m_checkIdHasBeenSet = true; m_checkId = std::move(value); }
53 inline void SetCheckId(const char* value) { m_checkIdHasBeenSet = true; m_checkId.assign(value); }
54 inline TrustedAdvisorCheckResult& WithCheckId(const Aws::String& value) { SetCheckId(value); return *this;}
55 inline TrustedAdvisorCheckResult& WithCheckId(Aws::String&& value) { SetCheckId(std::move(value)); return *this;}
56 inline TrustedAdvisorCheckResult& WithCheckId(const char* value) { SetCheckId(value); return *this;}
58
60
63 inline const Aws::String& GetTimestamp() const{ return m_timestamp; }
64 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
65 inline void SetTimestamp(const Aws::String& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
66 inline void SetTimestamp(Aws::String&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
67 inline void SetTimestamp(const char* value) { m_timestampHasBeenSet = true; m_timestamp.assign(value); }
68 inline TrustedAdvisorCheckResult& WithTimestamp(const Aws::String& value) { SetTimestamp(value); return *this;}
69 inline TrustedAdvisorCheckResult& WithTimestamp(Aws::String&& value) { SetTimestamp(std::move(value)); return *this;}
70 inline TrustedAdvisorCheckResult& WithTimestamp(const char* value) { SetTimestamp(value); return *this;}
72
74
78 inline const Aws::String& GetStatus() const{ return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
81 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
82 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
83 inline TrustedAdvisorCheckResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
84 inline TrustedAdvisorCheckResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
85 inline TrustedAdvisorCheckResult& WithStatus(const char* value) { SetStatus(value); return *this;}
87
89
90 inline const TrustedAdvisorResourcesSummary& GetResourcesSummary() const{ return m_resourcesSummary; }
91 inline bool ResourcesSummaryHasBeenSet() const { return m_resourcesSummaryHasBeenSet; }
92 inline void SetResourcesSummary(const TrustedAdvisorResourcesSummary& value) { m_resourcesSummaryHasBeenSet = true; m_resourcesSummary = value; }
93 inline void SetResourcesSummary(TrustedAdvisorResourcesSummary&& value) { m_resourcesSummaryHasBeenSet = true; m_resourcesSummary = std::move(value); }
97
99
103 inline const TrustedAdvisorCategorySpecificSummary& GetCategorySpecificSummary() const{ return m_categorySpecificSummary; }
104 inline bool CategorySpecificSummaryHasBeenSet() const { return m_categorySpecificSummaryHasBeenSet; }
105 inline void SetCategorySpecificSummary(const TrustedAdvisorCategorySpecificSummary& value) { m_categorySpecificSummaryHasBeenSet = true; m_categorySpecificSummary = value; }
106 inline void SetCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary&& value) { m_categorySpecificSummaryHasBeenSet = true; m_categorySpecificSummary = std::move(value); }
110
112
115 inline const Aws::Vector<TrustedAdvisorResourceDetail>& GetFlaggedResources() const{ return m_flaggedResources; }
116 inline bool FlaggedResourcesHasBeenSet() const { return m_flaggedResourcesHasBeenSet; }
117 inline void SetFlaggedResources(const Aws::Vector<TrustedAdvisorResourceDetail>& value) { m_flaggedResourcesHasBeenSet = true; m_flaggedResources = value; }
118 inline void SetFlaggedResources(Aws::Vector<TrustedAdvisorResourceDetail>&& value) { m_flaggedResourcesHasBeenSet = true; m_flaggedResources = std::move(value); }
121 inline TrustedAdvisorCheckResult& AddFlaggedResources(const TrustedAdvisorResourceDetail& value) { m_flaggedResourcesHasBeenSet = true; m_flaggedResources.push_back(value); return *this; }
122 inline TrustedAdvisorCheckResult& AddFlaggedResources(TrustedAdvisorResourceDetail&& value) { m_flaggedResourcesHasBeenSet = true; m_flaggedResources.push_back(std::move(value)); return *this; }
124 private:
125
126 Aws::String m_checkId;
127 bool m_checkIdHasBeenSet = false;
128
129 Aws::String m_timestamp;
130 bool m_timestampHasBeenSet = false;
131
132 Aws::String m_status;
133 bool m_statusHasBeenSet = false;
134
135 TrustedAdvisorResourcesSummary m_resourcesSummary;
136 bool m_resourcesSummaryHasBeenSet = false;
137
138 TrustedAdvisorCategorySpecificSummary m_categorySpecificSummary;
139 bool m_categorySpecificSummaryHasBeenSet = false;
140
142 bool m_flaggedResourcesHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Support
147} // namespace Aws
TrustedAdvisorCheckResult & WithCheckId(const Aws::String &value)
TrustedAdvisorCheckResult & AddFlaggedResources(TrustedAdvisorResourceDetail &&value)
TrustedAdvisorCheckResult & AddFlaggedResources(const TrustedAdvisorResourceDetail &value)
TrustedAdvisorCheckResult & WithTimestamp(Aws::String &&value)
void SetFlaggedResources(Aws::Vector< TrustedAdvisorResourceDetail > &&value)
TrustedAdvisorCheckResult & WithFlaggedResources(Aws::Vector< TrustedAdvisorResourceDetail > &&value)
TrustedAdvisorCheckResult & WithFlaggedResources(const Aws::Vector< TrustedAdvisorResourceDetail > &value)
AWS_SUPPORT_API TrustedAdvisorCheckResult(Aws::Utils::Json::JsonView jsonValue)
const TrustedAdvisorResourcesSummary & GetResourcesSummary() const
TrustedAdvisorCheckResult & WithStatus(const Aws::String &value)
TrustedAdvisorCheckResult & WithResourcesSummary(TrustedAdvisorResourcesSummary &&value)
TrustedAdvisorCheckResult & WithCategorySpecificSummary(const TrustedAdvisorCategorySpecificSummary &value)
TrustedAdvisorCheckResult & WithStatus(Aws::String &&value)
const TrustedAdvisorCategorySpecificSummary & GetCategorySpecificSummary() const
TrustedAdvisorCheckResult & WithStatus(const char *value)
void SetCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary &&value)
void SetResourcesSummary(TrustedAdvisorResourcesSummary &&value)
TrustedAdvisorCheckResult & WithCheckId(const char *value)
void SetCategorySpecificSummary(const TrustedAdvisorCategorySpecificSummary &value)
void SetFlaggedResources(const Aws::Vector< TrustedAdvisorResourceDetail > &value)
AWS_SUPPORT_API TrustedAdvisorCheckResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TrustedAdvisorResourceDetail > & GetFlaggedResources() const
TrustedAdvisorCheckResult & WithTimestamp(const Aws::String &value)
void SetResourcesSummary(const TrustedAdvisorResourcesSummary &value)
TrustedAdvisorCheckResult & WithTimestamp(const char *value)
TrustedAdvisorCheckResult & WithCheckId(Aws::String &&value)
TrustedAdvisorCheckResult & WithResourcesSummary(const TrustedAdvisorResourcesSummary &value)
TrustedAdvisorCheckResult & WithCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary &&value)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue