AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountHealth.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-guru/model/AccountInsightHealth.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 DevOpsGuru
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_DEVOPSGURU_API AccountHealth();
39 AWS_DEVOPSGURU_API AccountHealth(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DEVOPSGURU_API AccountHealth& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAccountId() const{ return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline AccountHealth& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline AccountHealth& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline AccountHealth& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
64 inline const AccountInsightHealth& GetInsight() const{ return m_insight; }
65 inline bool InsightHasBeenSet() const { return m_insightHasBeenSet; }
66 inline void SetInsight(const AccountInsightHealth& value) { m_insightHasBeenSet = true; m_insight = value; }
67 inline void SetInsight(AccountInsightHealth&& value) { m_insightHasBeenSet = true; m_insight = std::move(value); }
68 inline AccountHealth& WithInsight(const AccountInsightHealth& value) { SetInsight(value); return *this;}
69 inline AccountHealth& WithInsight(AccountInsightHealth&& value) { SetInsight(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_accountId;
74 bool m_accountIdHasBeenSet = false;
75
76 AccountInsightHealth m_insight;
77 bool m_insightHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace DevOpsGuru
82} // namespace Aws
AWS_DEVOPSGURU_API AccountHealth(Aws::Utils::Json::JsonView jsonValue)
AccountHealth & WithAccountId(const char *value)
const Aws::String & GetAccountId() const
AccountHealth & WithAccountId(const Aws::String &value)
void SetAccountId(const char *value)
AccountHealth & WithInsight(AccountInsightHealth &&value)
const AccountInsightHealth & GetInsight() const
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AccountHealth & WithInsight(const AccountInsightHealth &value)
void SetInsight(AccountInsightHealth &&value)
void SetInsight(const AccountInsightHealth &value)
void SetAccountId(Aws::String &&value)
AccountHealth & WithAccountId(Aws::String &&value)
AWS_DEVOPSGURU_API AccountHealth & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue