AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
52 template<typename AccountIdT = Aws::String>
53 AccountHealth& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
55
57
62 inline const AccountInsightHealth& GetInsight() const { return m_insight; }
63 inline bool InsightHasBeenSet() const { return m_insightHasBeenSet; }
64 template<typename InsightT = AccountInsightHealth>
65 void SetInsight(InsightT&& value) { m_insightHasBeenSet = true; m_insight = std::forward<InsightT>(value); }
66 template<typename InsightT = AccountInsightHealth>
67 AccountHealth& WithInsight(InsightT&& value) { SetInsight(std::forward<InsightT>(value)); return *this;}
69 private:
70
71 Aws::String m_accountId;
72 bool m_accountIdHasBeenSet = false;
73
74 AccountInsightHealth m_insight;
75 bool m_insightHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DevOpsGuru
80} // namespace Aws
AWS_DEVOPSGURU_API AccountHealth(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccountId() const
AWS_DEVOPSGURU_API AccountHealth()=default
const AccountInsightHealth & GetInsight() const
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AccountHealth & WithAccountId(AccountIdT &&value)
AccountHealth & WithInsight(InsightT &&value)
AWS_DEVOPSGURU_API AccountHealth & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(AccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue