AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberAccountStatus.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/config/model/MemberAccountRuleStatus.h>
10#include <aws/core/utils/DateTime.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 ConfigService
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_CONFIGSERVICE_API MemberAccountStatus();
39 AWS_CONFIGSERVICE_API MemberAccountStatus(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONFIGSERVICE_API MemberAccountStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONFIGSERVICE_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 MemberAccountStatus& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline MemberAccountStatus& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline MemberAccountStatus& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
62 inline const Aws::String& GetConfigRuleName() const{ return m_configRuleName; }
63 inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
64 inline void SetConfigRuleName(const Aws::String& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; }
65 inline void SetConfigRuleName(Aws::String&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::move(value); }
66 inline void SetConfigRuleName(const char* value) { m_configRuleNameHasBeenSet = true; m_configRuleName.assign(value); }
67 inline MemberAccountStatus& WithConfigRuleName(const Aws::String& value) { SetConfigRuleName(value); return *this;}
68 inline MemberAccountStatus& WithConfigRuleName(Aws::String&& value) { SetConfigRuleName(std::move(value)); return *this;}
69 inline MemberAccountStatus& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;}
71
73
97 inline const MemberAccountRuleStatus& GetMemberAccountRuleStatus() const{ return m_memberAccountRuleStatus; }
98 inline bool MemberAccountRuleStatusHasBeenSet() const { return m_memberAccountRuleStatusHasBeenSet; }
99 inline void SetMemberAccountRuleStatus(const MemberAccountRuleStatus& value) { m_memberAccountRuleStatusHasBeenSet = true; m_memberAccountRuleStatus = value; }
100 inline void SetMemberAccountRuleStatus(MemberAccountRuleStatus&& value) { m_memberAccountRuleStatusHasBeenSet = true; m_memberAccountRuleStatus = std::move(value); }
104
106
110 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
111 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
112 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
113 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
114 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
115 inline MemberAccountStatus& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
116 inline MemberAccountStatus& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
117 inline MemberAccountStatus& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
119
121
125 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
126 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
127 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
128 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
129 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
130 inline MemberAccountStatus& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
131 inline MemberAccountStatus& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
132 inline MemberAccountStatus& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
140 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
141 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
142 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
144 inline MemberAccountStatus& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
146 private:
147
148 Aws::String m_accountId;
149 bool m_accountIdHasBeenSet = false;
150
151 Aws::String m_configRuleName;
152 bool m_configRuleNameHasBeenSet = false;
153
154 MemberAccountRuleStatus m_memberAccountRuleStatus;
155 bool m_memberAccountRuleStatusHasBeenSet = false;
156
157 Aws::String m_errorCode;
158 bool m_errorCodeHasBeenSet = false;
159
160 Aws::String m_errorMessage;
161 bool m_errorMessageHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastUpdateTime;
164 bool m_lastUpdateTimeHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace ConfigService
169} // namespace Aws
MemberAccountStatus & WithLastUpdateTime(Aws::Utils::DateTime &&value)
MemberAccountStatus & WithErrorCode(const char *value)
MemberAccountStatus & WithErrorCode(Aws::String &&value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
MemberAccountStatus & WithMemberAccountRuleStatus(MemberAccountRuleStatus &&value)
MemberAccountStatus & WithLastUpdateTime(const Aws::Utils::DateTime &value)
MemberAccountStatus & WithConfigRuleName(Aws::String &&value)
MemberAccountStatus & WithAccountId(Aws::String &&value)
MemberAccountStatus & WithAccountId(const char *value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
MemberAccountStatus & WithErrorMessage(const char *value)
MemberAccountStatus & WithAccountId(const Aws::String &value)
MemberAccountStatus & WithConfigRuleName(const char *value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MemberAccountStatus & WithErrorMessage(const Aws::String &value)
MemberAccountStatus & WithErrorMessage(Aws::String &&value)
MemberAccountStatus & WithMemberAccountRuleStatus(const MemberAccountRuleStatus &value)
MemberAccountStatus & WithErrorCode(const Aws::String &value)
const MemberAccountRuleStatus & GetMemberAccountRuleStatus() const
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
MemberAccountStatus & WithConfigRuleName(const Aws::String &value)
AWS_CONFIGSERVICE_API MemberAccountStatus(Aws::Utils::Json::JsonView jsonValue)
void SetMemberAccountRuleStatus(MemberAccountRuleStatus &&value)
AWS_CONFIGSERVICE_API MemberAccountStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMemberAccountRuleStatus(const MemberAccountRuleStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue