AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JoinDomainResult.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/storagegateway/model/ActiveDirectoryStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace StorageGateway
25{
26namespace Model
27{
34 {
35 public:
36 AWS_STORAGEGATEWAY_API JoinDomainResult();
39
40
42
46 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
47 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
48 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
49 inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
50 inline JoinDomainResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
51 inline JoinDomainResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
52 inline JoinDomainResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
54
56
71 inline const ActiveDirectoryStatus& GetActiveDirectoryStatus() const{ return m_activeDirectoryStatus; }
72 inline void SetActiveDirectoryStatus(const ActiveDirectoryStatus& value) { m_activeDirectoryStatus = value; }
73 inline void SetActiveDirectoryStatus(ActiveDirectoryStatus&& value) { m_activeDirectoryStatus = std::move(value); }
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline JoinDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline JoinDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline JoinDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::String m_gatewayARN;
91
92 ActiveDirectoryStatus m_activeDirectoryStatus;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace StorageGateway
99} // namespace Aws
JoinDomainResult & WithActiveDirectoryStatus(ActiveDirectoryStatus &&value)
const ActiveDirectoryStatus & GetActiveDirectoryStatus() const
JoinDomainResult & WithRequestId(const Aws::String &value)
JoinDomainResult & WithActiveDirectoryStatus(const ActiveDirectoryStatus &value)
void SetActiveDirectoryStatus(ActiveDirectoryStatus &&value)
JoinDomainResult & WithRequestId(Aws::String &&value)
void SetGatewayARN(const Aws::String &value)
AWS_STORAGEGATEWAY_API JoinDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
JoinDomainResult & WithGatewayARN(const Aws::String &value)
JoinDomainResult & WithGatewayARN(Aws::String &&value)
void SetRequestId(const Aws::String &value)
JoinDomainResult & WithRequestId(const char *value)
AWS_STORAGEGATEWAY_API JoinDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetActiveDirectoryStatus(const ActiveDirectoryStatus &value)
JoinDomainResult & WithGatewayARN(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue