AWS SDK for C++  1.9.108
AWS SDK for C++
AccessPoliciesStatus.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ElasticsearchService
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
48  inline const Aws::String& GetOptions() const{ return m_options; }
49 
56  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
57 
64  inline void SetOptions(const Aws::String& value) { m_optionsHasBeenSet = true; m_options = value; }
65 
72  inline void SetOptions(Aws::String&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
73 
80  inline void SetOptions(const char* value) { m_optionsHasBeenSet = true; m_options.assign(value); }
81 
88  inline AccessPoliciesStatus& WithOptions(const Aws::String& value) { SetOptions(value); return *this;}
89 
96  inline AccessPoliciesStatus& WithOptions(Aws::String&& value) { SetOptions(std::move(value)); return *this;}
97 
104  inline AccessPoliciesStatus& WithOptions(const char* value) { SetOptions(value); return *this;}
105 
106 
111  inline const OptionStatus& GetStatus() const{ return m_status; }
112 
117  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 
123  inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
124 
129  inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
130 
135  inline AccessPoliciesStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
136 
141  inline AccessPoliciesStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
142 
143  private:
144 
145  Aws::String m_options;
146  bool m_optionsHasBeenSet;
147 
148  OptionStatus m_status;
149  bool m_statusHasBeenSet;
150  };
151 
152 } // namespace Model
153 } // namespace ElasticsearchService
154 } // namespace Aws
Aws::ElasticsearchService::Model::AccessPoliciesStatus::GetStatus
const OptionStatus & GetStatus() const
Definition: AccessPoliciesStatus.h:111
Aws::ElasticsearchService::Model::AccessPoliciesStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::AccessPoliciesStatus::WithStatus
AccessPoliciesStatus & WithStatus(OptionStatus &&value)
Definition: AccessPoliciesStatus.h:141
Aws::ElasticsearchService::Model::AccessPoliciesStatus::WithOptions
AccessPoliciesStatus & WithOptions(Aws::String &&value)
Definition: AccessPoliciesStatus.h:96
Aws::ElasticsearchService::Model::AccessPoliciesStatus::SetStatus
void SetStatus(OptionStatus &&value)
Definition: AccessPoliciesStatus.h:129
Aws::ElasticsearchService::Model::AccessPoliciesStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: AccessPoliciesStatus.h:117
Aws::ElasticsearchService::Model::AccessPoliciesStatus
Definition: AccessPoliciesStatus.h:34
Aws::ElasticsearchService::Model::AccessPoliciesStatus::SetStatus
void SetStatus(const OptionStatus &value)
Definition: AccessPoliciesStatus.h:123
OptionStatus.h
Aws::ElasticsearchService::Model::AccessPoliciesStatus::SetOptions
void SetOptions(Aws::String &&value)
Definition: AccessPoliciesStatus.h:72
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::OptionStatus
Definition: OptionStatus.h:33
Aws::ElasticsearchService::Model::AccessPoliciesStatus::WithStatus
AccessPoliciesStatus & WithStatus(const OptionStatus &value)
Definition: AccessPoliciesStatus.h:135
Aws::ElasticsearchService::Model::AccessPoliciesStatus::AccessPoliciesStatus
AccessPoliciesStatus()
Aws::ElasticsearchService::Model::AccessPoliciesStatus::SetOptions
void SetOptions(const char *value)
Definition: AccessPoliciesStatus.h:80
Aws::ElasticsearchService::Model::AccessPoliciesStatus::OptionsHasBeenSet
bool OptionsHasBeenSet() const
Definition: AccessPoliciesStatus.h:56
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ElasticsearchService::Model::AccessPoliciesStatus::WithOptions
AccessPoliciesStatus & WithOptions(const Aws::String &value)
Definition: AccessPoliciesStatus.h:88
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::AccessPoliciesStatus::operator=
AccessPoliciesStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::AccessPoliciesStatus::GetOptions
const Aws::String & GetOptions() const
Definition: AccessPoliciesStatus.h:48
Aws::ElasticsearchService::Model::AccessPoliciesStatus::AccessPoliciesStatus
AccessPoliciesStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::AccessPoliciesStatus::SetOptions
void SetOptions(const Aws::String &value)
Definition: AccessPoliciesStatus.h:64
Aws::ElasticsearchService::Model::AccessPoliciesStatus::WithOptions
AccessPoliciesStatus & WithOptions(const char *value)
Definition: AccessPoliciesStatus.h:104