AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationConfiguration.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/OrganizationConfigurationConfigurationType.h>
9#include <aws/securityhub/model/OrganizationConfigurationStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.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 SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API OrganizationConfiguration();
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
60 inline const OrganizationConfigurationConfigurationType& GetConfigurationType() const{ return m_configurationType; }
61 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
62 inline void SetConfigurationType(const OrganizationConfigurationConfigurationType& value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
63 inline void SetConfigurationType(OrganizationConfigurationConfigurationType&& value) { m_configurationTypeHasBeenSet = true; m_configurationType = std::move(value); }
67
69
75 inline const OrganizationConfigurationStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const OrganizationConfigurationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(OrganizationConfigurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
80 inline OrganizationConfiguration& WithStatus(OrganizationConfigurationStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
89 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
90 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
91 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
92 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
93 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
94 inline OrganizationConfiguration& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
95 inline OrganizationConfiguration& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
96 inline OrganizationConfiguration& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
98 private:
99
101 bool m_configurationTypeHasBeenSet = false;
102
104 bool m_statusHasBeenSet = false;
105
106 Aws::String m_statusMessage;
107 bool m_statusMessageHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SecurityHub
112} // namespace Aws
AWS_SECURITYHUB_API OrganizationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationConfiguration & WithStatusMessage(Aws::String &&value)
OrganizationConfiguration & WithConfigurationType(const OrganizationConfigurationConfigurationType &value)
const OrganizationConfigurationStatus & GetStatus() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(OrganizationConfigurationStatus &&value)
OrganizationConfiguration & WithStatus(OrganizationConfigurationStatus &&value)
void SetStatus(const OrganizationConfigurationStatus &value)
void SetConfigurationType(OrganizationConfigurationConfigurationType &&value)
AWS_SECURITYHUB_API OrganizationConfiguration(Aws::Utils::Json::JsonView jsonValue)
OrganizationConfiguration & WithStatus(const OrganizationConfigurationStatus &value)
OrganizationConfiguration & WithStatusMessage(const char *value)
OrganizationConfiguration & WithConfigurationType(OrganizationConfigurationConfigurationType &&value)
OrganizationConfiguration & WithStatusMessage(const Aws::String &value)
const OrganizationConfigurationConfigurationType & GetConfigurationType() const
void SetConfigurationType(const OrganizationConfigurationConfigurationType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue