AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLocationFsxWindowsResult.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataSync
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
42 inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
43 inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
44 inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
45 inline DescribeLocationFsxWindowsResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
46 inline DescribeLocationFsxWindowsResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
47 inline DescribeLocationFsxWindowsResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
49
51
55 inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
56 inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; }
57 inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); }
58 inline void SetLocationUri(const char* value) { m_locationUri.assign(value); }
59 inline DescribeLocationFsxWindowsResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
60 inline DescribeLocationFsxWindowsResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
61 inline DescribeLocationFsxWindowsResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
63
65
72 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const{ return m_securityGroupArns; }
73 inline void SetSecurityGroupArns(const Aws::Vector<Aws::String>& value) { m_securityGroupArns = value; }
74 inline void SetSecurityGroupArns(Aws::Vector<Aws::String>&& value) { m_securityGroupArns = std::move(value); }
77 inline DescribeLocationFsxWindowsResult& AddSecurityGroupArns(const Aws::String& value) { m_securityGroupArns.push_back(value); return *this; }
78 inline DescribeLocationFsxWindowsResult& AddSecurityGroupArns(Aws::String&& value) { m_securityGroupArns.push_back(std::move(value)); return *this; }
79 inline DescribeLocationFsxWindowsResult& AddSecurityGroupArns(const char* value) { m_securityGroupArns.push_back(value); return *this; }
81
83
86 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
87 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
88 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
92
94
98 inline const Aws::String& GetUser() const{ return m_user; }
99 inline void SetUser(const Aws::String& value) { m_user = value; }
100 inline void SetUser(Aws::String&& value) { m_user = std::move(value); }
101 inline void SetUser(const char* value) { m_user.assign(value); }
102 inline DescribeLocationFsxWindowsResult& WithUser(const Aws::String& value) { SetUser(value); return *this;}
103 inline DescribeLocationFsxWindowsResult& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
104 inline DescribeLocationFsxWindowsResult& WithUser(const char* value) { SetUser(value); return *this;}
106
108
112 inline const Aws::String& GetDomain() const{ return m_domain; }
113 inline void SetDomain(const Aws::String& value) { m_domain = value; }
114 inline void SetDomain(Aws::String&& value) { m_domain = std::move(value); }
115 inline void SetDomain(const char* value) { m_domain.assign(value); }
116 inline DescribeLocationFsxWindowsResult& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
117 inline DescribeLocationFsxWindowsResult& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
118 inline DescribeLocationFsxWindowsResult& WithDomain(const char* value) { SetDomain(value); return *this;}
120
122
123 inline const Aws::String& GetRequestId() const{ return m_requestId; }
124 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
125 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
126 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
127 inline DescribeLocationFsxWindowsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
128 inline DescribeLocationFsxWindowsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
129 inline DescribeLocationFsxWindowsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
131 private:
132
133 Aws::String m_locationArn;
134
135 Aws::String m_locationUri;
136
137 Aws::Vector<Aws::String> m_securityGroupArns;
138
139 Aws::Utils::DateTime m_creationTime;
140
141 Aws::String m_user;
142
143 Aws::String m_domain;
144
145 Aws::String m_requestId;
146 };
147
148} // namespace Model
149} // namespace DataSync
150} // namespace Aws
DescribeLocationFsxWindowsResult & WithRequestId(const Aws::String &value)
AWS_DATASYNC_API DescribeLocationFsxWindowsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxWindowsResult & WithLocationArn(Aws::String &&value)
DescribeLocationFsxWindowsResult & WithLocationUri(const Aws::String &value)
DescribeLocationFsxWindowsResult & WithLocationUri(const char *value)
DescribeLocationFsxWindowsResult & WithLocationArn(const Aws::String &value)
DescribeLocationFsxWindowsResult & WithSecurityGroupArns(const Aws::Vector< Aws::String > &value)
DescribeLocationFsxWindowsResult & WithUser(const Aws::String &value)
DescribeLocationFsxWindowsResult & WithRequestId(Aws::String &&value)
AWS_DATASYNC_API DescribeLocationFsxWindowsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxWindowsResult & AddSecurityGroupArns(const char *value)
DescribeLocationFsxWindowsResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeLocationFsxWindowsResult & WithDomain(const char *value)
DescribeLocationFsxWindowsResult & WithUser(const char *value)
DescribeLocationFsxWindowsResult & WithLocationUri(Aws::String &&value)
DescribeLocationFsxWindowsResult & WithLocationArn(const char *value)
DescribeLocationFsxWindowsResult & WithUser(Aws::String &&value)
DescribeLocationFsxWindowsResult & AddSecurityGroupArns(Aws::String &&value)
DescribeLocationFsxWindowsResult & WithDomain(const Aws::String &value)
DescribeLocationFsxWindowsResult & AddSecurityGroupArns(const Aws::String &value)
DescribeLocationFsxWindowsResult & WithSecurityGroupArns(Aws::Vector< Aws::String > &&value)
DescribeLocationFsxWindowsResult & WithRequestId(const char *value)
void SetSecurityGroupArns(const Aws::Vector< Aws::String > &value)
DescribeLocationFsxWindowsResult & WithDomain(Aws::String &&value)
DescribeLocationFsxWindowsResult & WithCreationTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue