AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateLocationEfsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datasync/DataSync_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace DataSync {
22namespace Model {
29 public:
30 AWS_DATASYNC_API CreateLocationEfsResult() = default;
33
35
39 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
40 template <typename LocationArnT = Aws::String>
41 void SetLocationArn(LocationArnT&& value) {
42 m_locationArnHasBeenSet = true;
43 m_locationArn = std::forward<LocationArnT>(value);
44 }
45 template <typename LocationArnT = Aws::String>
47 SetLocationArn(std::forward<LocationArnT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template <typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) {
57 m_requestIdHasBeenSet = true;
58 m_requestId = std::forward<RequestIdT>(value);
59 }
60 template <typename RequestIdT = Aws::String>
62 SetRequestId(std::forward<RequestIdT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_locationArn;
68
69 Aws::String m_requestId;
70 bool m_locationArnHasBeenSet = false;
71 bool m_requestIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace DataSync
76} // namespace Aws
CreateLocationEfsResult & WithLocationArn(LocationArnT &&value)
AWS_DATASYNC_API CreateLocationEfsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLocationEfsResult & WithRequestId(RequestIdT &&value)
AWS_DATASYNC_API CreateLocationEfsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATASYNC_API CreateLocationEfsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue