AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationConfigRuleStatus.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/OrganizationRuleStatus.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
35 {
36 public:
37 AWS_CONFIGSERVICE_API OrganizationConfigRuleStatus();
40 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetOrganizationConfigRuleName() const{ return m_organizationConfigRuleName; }
48 inline bool OrganizationConfigRuleNameHasBeenSet() const { return m_organizationConfigRuleNameHasBeenSet; }
49 inline void SetOrganizationConfigRuleName(const Aws::String& value) { m_organizationConfigRuleNameHasBeenSet = true; m_organizationConfigRuleName = value; }
50 inline void SetOrganizationConfigRuleName(Aws::String&& value) { m_organizationConfigRuleNameHasBeenSet = true; m_organizationConfigRuleName = std::move(value); }
51 inline void SetOrganizationConfigRuleName(const char* value) { m_organizationConfigRuleNameHasBeenSet = true; m_organizationConfigRuleName.assign(value); }
56
58
86 inline const OrganizationRuleStatus& GetOrganizationRuleStatus() const{ return m_organizationRuleStatus; }
87 inline bool OrganizationRuleStatusHasBeenSet() const { return m_organizationRuleStatusHasBeenSet; }
88 inline void SetOrganizationRuleStatus(const OrganizationRuleStatus& value) { m_organizationRuleStatusHasBeenSet = true; m_organizationRuleStatus = value; }
89 inline void SetOrganizationRuleStatus(OrganizationRuleStatus&& value) { m_organizationRuleStatusHasBeenSet = true; m_organizationRuleStatus = std::move(value); }
93
95
99 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
100 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
101 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
102 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
103 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
104 inline OrganizationConfigRuleStatus& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
105 inline OrganizationConfigRuleStatus& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
106 inline OrganizationConfigRuleStatus& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
108
110
114 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
115 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
116 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
117 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
118 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
119 inline OrganizationConfigRuleStatus& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
120 inline OrganizationConfigRuleStatus& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
121 inline OrganizationConfigRuleStatus& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
129 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
130 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
131 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
135 private:
136
137 Aws::String m_organizationConfigRuleName;
138 bool m_organizationConfigRuleNameHasBeenSet = false;
139
140 OrganizationRuleStatus m_organizationRuleStatus;
141 bool m_organizationRuleStatusHasBeenSet = false;
142
143 Aws::String m_errorCode;
144 bool m_errorCodeHasBeenSet = false;
145
146 Aws::String m_errorMessage;
147 bool m_errorMessageHasBeenSet = false;
148
149 Aws::Utils::DateTime m_lastUpdateTime;
150 bool m_lastUpdateTimeHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace ConfigService
155} // namespace Aws
OrganizationConfigRuleStatus & WithErrorCode(Aws::String &&value)
AWS_CONFIGSERVICE_API OrganizationConfigRuleStatus(Aws::Utils::Json::JsonView jsonValue)
OrganizationConfigRuleStatus & WithOrganizationConfigRuleName(const char *value)
OrganizationConfigRuleStatus & WithErrorMessage(Aws::String &&value)
AWS_CONFIGSERVICE_API OrganizationConfigRuleStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationConfigRuleStatus & WithErrorCode(const char *value)
OrganizationConfigRuleStatus & WithOrganizationConfigRuleName(Aws::String &&value)
OrganizationConfigRuleStatus & WithOrganizationRuleStatus(const OrganizationRuleStatus &value)
void SetOrganizationRuleStatus(const OrganizationRuleStatus &value)
OrganizationConfigRuleStatus & WithOrganizationConfigRuleName(const Aws::String &value)
OrganizationConfigRuleStatus & WithLastUpdateTime(Aws::Utils::DateTime &&value)
OrganizationConfigRuleStatus & WithOrganizationRuleStatus(OrganizationRuleStatus &&value)
OrganizationConfigRuleStatus & WithErrorCode(const Aws::String &value)
OrganizationConfigRuleStatus & WithErrorMessage(const Aws::String &value)
OrganizationConfigRuleStatus & WithLastUpdateTime(const Aws::Utils::DateTime &value)
OrganizationConfigRuleStatus & WithErrorMessage(const char *value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue