AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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