AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLocationFsxLustreResult.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
42 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
43 inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
44 inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
45 inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
46 inline DescribeLocationFsxLustreResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
47 inline DescribeLocationFsxLustreResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
48 inline DescribeLocationFsxLustreResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
50
52
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 DescribeLocationFsxLustreResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
60 inline DescribeLocationFsxLustreResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
61 inline DescribeLocationFsxLustreResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
63
65
69 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const{ return m_securityGroupArns; }
70 inline void SetSecurityGroupArns(const Aws::Vector<Aws::String>& value) { m_securityGroupArns = value; }
71 inline void SetSecurityGroupArns(Aws::Vector<Aws::String>&& value) { m_securityGroupArns = std::move(value); }
74 inline DescribeLocationFsxLustreResult& AddSecurityGroupArns(const Aws::String& value) { m_securityGroupArns.push_back(value); return *this; }
75 inline DescribeLocationFsxLustreResult& AddSecurityGroupArns(Aws::String&& value) { m_securityGroupArns.push_back(std::move(value)); return *this; }
76 inline DescribeLocationFsxLustreResult& AddSecurityGroupArns(const char* value) { m_securityGroupArns.push_back(value); return *this; }
78
80
83 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
84 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
85 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
87 inline DescribeLocationFsxLustreResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const{ return m_requestId; }
93 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
94 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
95 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
96 inline DescribeLocationFsxLustreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
97 inline DescribeLocationFsxLustreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
98 inline DescribeLocationFsxLustreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
100 private:
101
102 Aws::String m_locationArn;
103
104 Aws::String m_locationUri;
105
106 Aws::Vector<Aws::String> m_securityGroupArns;
107
108 Aws::Utils::DateTime m_creationTime;
109
110 Aws::String m_requestId;
111 };
112
113} // namespace Model
114} // namespace DataSync
115} // namespace Aws
DescribeLocationFsxLustreResult & WithLocationUri(Aws::String &&value)
DescribeLocationFsxLustreResult & WithLocationArn(Aws::String &&value)
DescribeLocationFsxLustreResult & WithRequestId(const char *value)
DescribeLocationFsxLustreResult & WithLocationUri(const Aws::String &value)
DescribeLocationFsxLustreResult & WithLocationUri(const char *value)
DescribeLocationFsxLustreResult & AddSecurityGroupArns(const char *value)
DescribeLocationFsxLustreResult & WithLocationArn(const Aws::String &value)
DescribeLocationFsxLustreResult & WithRequestId(const Aws::String &value)
DescribeLocationFsxLustreResult & WithSecurityGroupArns(const Aws::Vector< Aws::String > &value)
DescribeLocationFsxLustreResult & AddSecurityGroupArns(Aws::String &&value)
DescribeLocationFsxLustreResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeLocationFsxLustreResult & WithRequestId(Aws::String &&value)
DescribeLocationFsxLustreResult & WithLocationArn(const char *value)
void SetSecurityGroupArns(const Aws::Vector< Aws::String > &value)
AWS_DATASYNC_API DescribeLocationFsxLustreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
DescribeLocationFsxLustreResult & WithSecurityGroupArns(Aws::Vector< Aws::String > &&value)
DescribeLocationFsxLustreResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeLocationFsxLustreResult & AddSecurityGroupArns(const Aws::String &value)
AWS_DATASYNC_API DescribeLocationFsxLustreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue