AWS SDK for C++  1.9.129
AWS SDK for C++
JoinDomainResult.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 StorageGateway
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
45  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
46 
51  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
52 
57  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
58 
63  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
64 
69  inline JoinDomainResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
70 
75  inline JoinDomainResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
76 
81  inline JoinDomainResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
82 
83 
99  inline const ActiveDirectoryStatus& GetActiveDirectoryStatus() const{ return m_activeDirectoryStatus; }
100 
116  inline void SetActiveDirectoryStatus(const ActiveDirectoryStatus& value) { m_activeDirectoryStatus = value; }
117 
133  inline void SetActiveDirectoryStatus(ActiveDirectoryStatus&& value) { m_activeDirectoryStatus = std::move(value); }
134 
150  inline JoinDomainResult& WithActiveDirectoryStatus(const ActiveDirectoryStatus& value) { SetActiveDirectoryStatus(value); return *this;}
151 
167  inline JoinDomainResult& WithActiveDirectoryStatus(ActiveDirectoryStatus&& value) { SetActiveDirectoryStatus(std::move(value)); return *this;}
168 
169  private:
170 
171  Aws::String m_gatewayARN;
172 
173  ActiveDirectoryStatus m_activeDirectoryStatus;
174  };
175 
176 } // namespace Model
177 } // namespace StorageGateway
178 } // namespace Aws
Aws::StorageGateway::Model::JoinDomainResult::WithGatewayARN
JoinDomainResult & WithGatewayARN(const Aws::String &value)
Definition: JoinDomainResult.h:69
Aws::StorageGateway::Model::JoinDomainResult::SetActiveDirectoryStatus
void SetActiveDirectoryStatus(ActiveDirectoryStatus &&value)
Definition: JoinDomainResult.h:133
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::JoinDomainResult::WithGatewayARN
JoinDomainResult & WithGatewayARN(const char *value)
Definition: JoinDomainResult.h:81
Aws::StorageGateway::Model::JoinDomainResult::GetActiveDirectoryStatus
const ActiveDirectoryStatus & GetActiveDirectoryStatus() const
Definition: JoinDomainResult.h:99
Aws::StorageGateway::Model::JoinDomainResult::operator=
JoinDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::JoinDomainResult::WithGatewayARN
JoinDomainResult & WithGatewayARN(Aws::String &&value)
Definition: JoinDomainResult.h:75
Aws::StorageGateway::Model::JoinDomainResult::SetActiveDirectoryStatus
void SetActiveDirectoryStatus(const ActiveDirectoryStatus &value)
Definition: JoinDomainResult.h:116
Aws::StorageGateway::Model::JoinDomainResult::JoinDomainResult
JoinDomainResult()
Aws::StorageGateway::Model::JoinDomainResult::JoinDomainResult
JoinDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::JoinDomainResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: JoinDomainResult.h:57
Aws::StorageGateway::Model::JoinDomainResult::WithActiveDirectoryStatus
JoinDomainResult & WithActiveDirectoryStatus(const ActiveDirectoryStatus &value)
Definition: JoinDomainResult.h:150
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::ActiveDirectoryStatus
ActiveDirectoryStatus
Definition: ActiveDirectoryStatus.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::JoinDomainResult::WithActiveDirectoryStatus
JoinDomainResult & WithActiveDirectoryStatus(ActiveDirectoryStatus &&value)
Definition: JoinDomainResult.h:167
ActiveDirectoryStatus.h
Aws::StorageGateway::Model::JoinDomainResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: JoinDomainResult.h:51
Aws::StorageGateway::Model::JoinDomainResult
Definition: JoinDomainResult.h:34
Aws::StorageGateway::Model::JoinDomainResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: JoinDomainResult.h:63
Aws::StorageGateway::Model::JoinDomainResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: JoinDomainResult.h:45