AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateLocationS3Result.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 CreateLocationS3Result() = default;
33
35
38 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
39 template <typename LocationArnT = Aws::String>
40 void SetLocationArn(LocationArnT&& value) {
41 m_locationArnHasBeenSet = true;
42 m_locationArn = std::forward<LocationArnT>(value);
43 }
44 template <typename LocationArnT = Aws::String>
45 CreateLocationS3Result& WithLocationArn(LocationArnT&& value) {
46 SetLocationArn(std::forward<LocationArnT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template <typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) {
56 m_requestIdHasBeenSet = true;
57 m_requestId = std::forward<RequestIdT>(value);
58 }
59 template <typename RequestIdT = Aws::String>
61 SetRequestId(std::forward<RequestIdT>(value));
62 return *this;
63 }
65 private:
66 Aws::String m_locationArn;
67
68 Aws::String m_requestId;
69 bool m_locationArnHasBeenSet = false;
70 bool m_requestIdHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace DataSync
75} // namespace Aws
CreateLocationS3Result & WithLocationArn(LocationArnT &&value)
AWS_DATASYNC_API CreateLocationS3Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATASYNC_API CreateLocationS3Result()=default
CreateLocationS3Result & WithRequestId(RequestIdT &&value)
AWS_DATASYNC_API CreateLocationS3Result & 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