AWS SDK for C++  1.9.175
AWS SDK for C++
ImportFirewallDomainsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Route53Resolver
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetId() const{ return m_id; }
40 
44  inline void SetId(const Aws::String& value) { m_id = value; }
45 
49  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
50 
54  inline void SetId(const char* value) { m_id.assign(value); }
55 
59  inline ImportFirewallDomainsResult& WithId(const Aws::String& value) { SetId(value); return *this;}
60 
64  inline ImportFirewallDomainsResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
65 
69  inline ImportFirewallDomainsResult& WithId(const char* value) { SetId(value); return *this;}
70 
71 
75  inline const Aws::String& GetName() const{ return m_name; }
76 
80  inline void SetName(const Aws::String& value) { m_name = value; }
81 
85  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
86 
90  inline void SetName(const char* value) { m_name.assign(value); }
91 
95  inline ImportFirewallDomainsResult& WithName(const Aws::String& value) { SetName(value); return *this;}
96 
100  inline ImportFirewallDomainsResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
101 
105  inline ImportFirewallDomainsResult& WithName(const char* value) { SetName(value); return *this;}
106 
107 
111  inline const FirewallDomainListStatus& GetStatus() const{ return m_status; }
112 
116  inline void SetStatus(const FirewallDomainListStatus& value) { m_status = value; }
117 
121  inline void SetStatus(FirewallDomainListStatus&& value) { m_status = std::move(value); }
122 
126  inline ImportFirewallDomainsResult& WithStatus(const FirewallDomainListStatus& value) { SetStatus(value); return *this;}
127 
131  inline ImportFirewallDomainsResult& WithStatus(FirewallDomainListStatus&& value) { SetStatus(std::move(value)); return *this;}
132 
133 
137  inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
138 
142  inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
143 
147  inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
148 
152  inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
153 
157  inline ImportFirewallDomainsResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
158 
162  inline ImportFirewallDomainsResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
163 
167  inline ImportFirewallDomainsResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
168 
169  private:
170 
171  Aws::String m_id;
172 
173  Aws::String m_name;
174 
175  FirewallDomainListStatus m_status;
176 
177  Aws::String m_statusMessage;
178  };
179 
180 } // namespace Model
181 } // namespace Route53Resolver
182 } // namespace Aws
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::ImportFirewallDomainsResult
ImportFirewallDomainsResult()
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::SetStatus
void SetStatus(FirewallDomainListStatus &&value)
Definition: ImportFirewallDomainsResult.h:121
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::WithId
ImportFirewallDomainsResult & WithId(const char *value)
Definition: ImportFirewallDomainsResult.h:69
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::WithStatus
ImportFirewallDomainsResult & WithStatus(FirewallDomainListStatus &&value)
Definition: ImportFirewallDomainsResult.h:131
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::WithId
ImportFirewallDomainsResult & WithId(Aws::String &&value)
Definition: ImportFirewallDomainsResult.h:64
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::GetName
const Aws::String & GetName() const
Definition: ImportFirewallDomainsResult.h:75
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::GetStatus
const FirewallDomainListStatus & GetStatus() const
Definition: ImportFirewallDomainsResult.h:111
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::operator=
ImportFirewallDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Route53Resolver_EXPORTS.h
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::WithName
ImportFirewallDomainsResult & WithName(const char *value)
Definition: ImportFirewallDomainsResult.h:105
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::SetId
void SetId(Aws::String &&value)
Definition: ImportFirewallDomainsResult.h:49
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::SetName
void SetName(const char *value)
Definition: ImportFirewallDomainsResult.h:90
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::SetStatus
void SetStatus(const FirewallDomainListStatus &value)
Definition: ImportFirewallDomainsResult.h:116
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::GetStatusMessage
const Aws::String & GetStatusMessage() const
Definition: ImportFirewallDomainsResult.h:137
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::WithName
ImportFirewallDomainsResult & WithName(const Aws::String &value)
Definition: ImportFirewallDomainsResult.h:95
Aws::Route53Resolver::Model::ImportFirewallDomainsResult
Definition: ImportFirewallDomainsResult.h:29
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::SetName
void SetName(Aws::String &&value)
Definition: ImportFirewallDomainsResult.h:85
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::WithStatusMessage
ImportFirewallDomainsResult & WithStatusMessage(Aws::String &&value)
Definition: ImportFirewallDomainsResult.h:162
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::SetName
void SetName(const Aws::String &value)
Definition: ImportFirewallDomainsResult.h:80
AWS_ROUTE53RESOLVER_API
#define AWS_ROUTE53RESOLVER_API
Definition: Route53Resolver_EXPORTS.h:28
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::SetStatusMessage
void SetStatusMessage(const char *value)
Definition: ImportFirewallDomainsResult.h:152
FirewallDomainListStatus.h
AWSString.h
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::WithStatusMessage
ImportFirewallDomainsResult & WithStatusMessage(const char *value)
Definition: ImportFirewallDomainsResult.h:167
Aws::Route53Resolver::Model::FirewallDomainListStatus
FirewallDomainListStatus
Definition: FirewallDomainListStatus.h:17
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::GetId
const Aws::String & GetId() const
Definition: ImportFirewallDomainsResult.h:39
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::WithName
ImportFirewallDomainsResult & WithName(Aws::String &&value)
Definition: ImportFirewallDomainsResult.h:100
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::SetStatusMessage
void SetStatusMessage(Aws::String &&value)
Definition: ImportFirewallDomainsResult.h:147
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::WithStatus
ImportFirewallDomainsResult & WithStatus(const FirewallDomainListStatus &value)
Definition: ImportFirewallDomainsResult.h:126
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::SetStatusMessage
void SetStatusMessage(const Aws::String &value)
Definition: ImportFirewallDomainsResult.h:142
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::SetId
void SetId(const Aws::String &value)
Definition: ImportFirewallDomainsResult.h:44
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::ImportFirewallDomainsResult
ImportFirewallDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::WithStatusMessage
ImportFirewallDomainsResult & WithStatusMessage(const Aws::String &value)
Definition: ImportFirewallDomainsResult.h:157
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::WithId
ImportFirewallDomainsResult & WithId(const Aws::String &value)
Definition: ImportFirewallDomainsResult.h:59
Aws::Route53Resolver::Model::ImportFirewallDomainsResult::SetId
void SetId(const char *value)
Definition: ImportFirewallDomainsResult.h:54