AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrustedAdvisorCheckSummary.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Support
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SUPPORT_API TrustedAdvisorCheckSummary();
40 AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetCheckId() const{ return m_checkId; }
48 inline bool CheckIdHasBeenSet() const { return m_checkIdHasBeenSet; }
49 inline void SetCheckId(const Aws::String& value) { m_checkIdHasBeenSet = true; m_checkId = value; }
50 inline void SetCheckId(Aws::String&& value) { m_checkIdHasBeenSet = true; m_checkId = std::move(value); }
51 inline void SetCheckId(const char* value) { m_checkIdHasBeenSet = true; m_checkId.assign(value); }
52 inline TrustedAdvisorCheckSummary& WithCheckId(const Aws::String& value) { SetCheckId(value); return *this;}
53 inline TrustedAdvisorCheckSummary& WithCheckId(Aws::String&& value) { SetCheckId(std::move(value)); return *this;}
54 inline TrustedAdvisorCheckSummary& WithCheckId(const char* value) { SetCheckId(value); return *this;}
56
58
61 inline const Aws::String& GetTimestamp() const{ return m_timestamp; }
62 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
63 inline void SetTimestamp(const Aws::String& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
64 inline void SetTimestamp(Aws::String&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
65 inline void SetTimestamp(const char* value) { m_timestampHasBeenSet = true; m_timestamp.assign(value); }
66 inline TrustedAdvisorCheckSummary& WithTimestamp(const Aws::String& value) { SetTimestamp(value); return *this;}
67 inline TrustedAdvisorCheckSummary& WithTimestamp(Aws::String&& value) { SetTimestamp(std::move(value)); return *this;}
68 inline TrustedAdvisorCheckSummary& WithTimestamp(const char* value) { SetTimestamp(value); return *this;}
70
72
76 inline const Aws::String& GetStatus() const{ return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
79 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
80 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
81 inline TrustedAdvisorCheckSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
82 inline TrustedAdvisorCheckSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
83 inline TrustedAdvisorCheckSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
85
87
90 inline bool GetHasFlaggedResources() const{ return m_hasFlaggedResources; }
91 inline bool HasFlaggedResourcesHasBeenSet() const { return m_hasFlaggedResourcesHasBeenSet; }
92 inline void SetHasFlaggedResources(bool value) { m_hasFlaggedResourcesHasBeenSet = true; m_hasFlaggedResources = value; }
95
97
98 inline const TrustedAdvisorResourcesSummary& GetResourcesSummary() const{ return m_resourcesSummary; }
99 inline bool ResourcesSummaryHasBeenSet() const { return m_resourcesSummaryHasBeenSet; }
100 inline void SetResourcesSummary(const TrustedAdvisorResourcesSummary& value) { m_resourcesSummaryHasBeenSet = true; m_resourcesSummary = value; }
101 inline void SetResourcesSummary(TrustedAdvisorResourcesSummary&& value) { m_resourcesSummaryHasBeenSet = true; m_resourcesSummary = std::move(value); }
105
107
111 inline const TrustedAdvisorCategorySpecificSummary& GetCategorySpecificSummary() const{ return m_categorySpecificSummary; }
112 inline bool CategorySpecificSummaryHasBeenSet() const { return m_categorySpecificSummaryHasBeenSet; }
113 inline void SetCategorySpecificSummary(const TrustedAdvisorCategorySpecificSummary& value) { m_categorySpecificSummaryHasBeenSet = true; m_categorySpecificSummary = value; }
114 inline void SetCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary&& value) { m_categorySpecificSummaryHasBeenSet = true; m_categorySpecificSummary = std::move(value); }
118 private:
119
120 Aws::String m_checkId;
121 bool m_checkIdHasBeenSet = false;
122
123 Aws::String m_timestamp;
124 bool m_timestampHasBeenSet = false;
125
126 Aws::String m_status;
127 bool m_statusHasBeenSet = false;
128
129 bool m_hasFlaggedResources;
130 bool m_hasFlaggedResourcesHasBeenSet = false;
131
132 TrustedAdvisorResourcesSummary m_resourcesSummary;
133 bool m_resourcesSummaryHasBeenSet = false;
134
135 TrustedAdvisorCategorySpecificSummary m_categorySpecificSummary;
136 bool m_categorySpecificSummaryHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace Support
141} // namespace Aws
TrustedAdvisorCheckSummary & WithStatus(const char *value)
TrustedAdvisorCheckSummary & WithStatus(const Aws::String &value)
TrustedAdvisorCheckSummary & WithCheckId(Aws::String &&value)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourcesSummary(TrustedAdvisorResourcesSummary &&value)
TrustedAdvisorCheckSummary & WithTimestamp(const char *value)
TrustedAdvisorCheckSummary & WithHasFlaggedResources(bool value)
void SetCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary &&value)
AWS_SUPPORT_API TrustedAdvisorCheckSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TrustedAdvisorCheckSummary & WithCheckId(const char *value)
const TrustedAdvisorCategorySpecificSummary & GetCategorySpecificSummary() const
TrustedAdvisorCheckSummary & WithCategorySpecificSummary(TrustedAdvisorCategorySpecificSummary &&value)
void SetCategorySpecificSummary(const TrustedAdvisorCategorySpecificSummary &value)
TrustedAdvisorCheckSummary & WithStatus(Aws::String &&value)
TrustedAdvisorCheckSummary & WithCheckId(const Aws::String &value)
TrustedAdvisorCheckSummary & WithTimestamp(const Aws::String &value)
const TrustedAdvisorResourcesSummary & GetResourcesSummary() const
AWS_SUPPORT_API TrustedAdvisorCheckSummary(Aws::Utils::Json::JsonView jsonValue)
TrustedAdvisorCheckSummary & WithResourcesSummary(TrustedAdvisorResourcesSummary &&value)
TrustedAdvisorCheckSummary & WithCategorySpecificSummary(const TrustedAdvisorCategorySpecificSummary &value)
void SetResourcesSummary(const TrustedAdvisorResourcesSummary &value)
TrustedAdvisorCheckSummary & WithTimestamp(Aws::String &&value)
TrustedAdvisorCheckSummary & WithResourcesSummary(const TrustedAdvisorResourcesSummary &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue