AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateLocationSmbResult.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 CreateLocationSmbResult() = default;
34
36
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 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
67
68 private:
69 Aws::String m_locationArn;
70
71 Aws::String m_requestId;
72 Aws::Http::HttpResponseCode m_HttpResponseCode;
73 bool m_locationArnHasBeenSet = false;
74 bool m_requestIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace DataSync
79} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_DATASYNC_API CreateLocationSmbResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATASYNC_API CreateLocationSmbResult()=default
CreateLocationSmbResult & WithRequestId(RequestIdT &&value)
CreateLocationSmbResult & WithLocationArn(LocationArnT &&value)
AWS_DATASYNC_API CreateLocationSmbResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue