AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationConformancePackStatus.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/OrganizationResourceStatus.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 OrganizationConformancePackStatus();
40 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetOrganizationConformancePackName() const{ return m_organizationConformancePackName; }
48 inline bool OrganizationConformancePackNameHasBeenSet() const { return m_organizationConformancePackNameHasBeenSet; }
49 inline void SetOrganizationConformancePackName(const Aws::String& value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName = value; }
50 inline void SetOrganizationConformancePackName(Aws::String&& value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName = std::move(value); }
51 inline void SetOrganizationConformancePackName(const char* value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName.assign(value); }
56
58
87 inline const OrganizationResourceStatus& GetStatus() const{ return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(const OrganizationResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
90 inline void SetStatus(OrganizationResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
92 inline OrganizationConformancePackStatus& WithStatus(OrganizationResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
94
96
100 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
101 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
102 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
103 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
104 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
105 inline OrganizationConformancePackStatus& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
106 inline OrganizationConformancePackStatus& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
107 inline OrganizationConformancePackStatus& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
109
111
115 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
116 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
117 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
118 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
119 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
121 inline OrganizationConformancePackStatus& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
122 inline OrganizationConformancePackStatus& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
130 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
131 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
132 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
136 private:
137
138 Aws::String m_organizationConformancePackName;
139 bool m_organizationConformancePackNameHasBeenSet = false;
140
142 bool m_statusHasBeenSet = false;
143
144 Aws::String m_errorCode;
145 bool m_errorCodeHasBeenSet = false;
146
147 Aws::String m_errorMessage;
148 bool m_errorMessageHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastUpdateTime;
151 bool m_lastUpdateTimeHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace ConfigService
156} // namespace Aws
OrganizationConformancePackStatus & WithOrganizationConformancePackName(Aws::String &&value)
AWS_CONFIGSERVICE_API OrganizationConformancePackStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationConformancePackStatus & WithErrorCode(Aws::String &&value)
OrganizationConformancePackStatus & WithErrorCode(const char *value)
OrganizationConformancePackStatus & WithStatus(const OrganizationResourceStatus &value)
OrganizationConformancePackStatus & WithOrganizationConformancePackName(const char *value)
OrganizationConformancePackStatus & WithErrorCode(const Aws::String &value)
OrganizationConformancePackStatus & WithOrganizationConformancePackName(const Aws::String &value)
OrganizationConformancePackStatus & WithLastUpdateTime(Aws::Utils::DateTime &&value)
OrganizationConformancePackStatus & WithErrorMessage(const Aws::String &value)
OrganizationConformancePackStatus & WithLastUpdateTime(const Aws::Utils::DateTime &value)
OrganizationConformancePackStatus & WithErrorMessage(const char *value)
AWS_CONFIGSERVICE_API OrganizationConformancePackStatus(Aws::Utils::Json::JsonView jsonValue)
OrganizationConformancePackStatus & WithStatus(OrganizationResourceStatus &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationConformancePackStatus & WithErrorMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue