AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
CreateVaultResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/Glacier_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 Glacier {
22namespace Model {
30 public:
31 AWS_GLACIER_API CreateVaultResult() = default;
34
36
39 inline const Aws::String& GetLocation() const { return m_location; }
40 template <typename LocationT = Aws::String>
41 void SetLocation(LocationT&& value) {
42 m_locationHasBeenSet = true;
43 m_location = std::forward<LocationT>(value);
44 }
45 template <typename LocationT = Aws::String>
46 CreateVaultResult& WithLocation(LocationT&& value) {
47 SetLocation(std::forward<LocationT>(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>
61 CreateVaultResult& WithRequestId(RequestIdT&& value) {
62 SetRequestId(std::forward<RequestIdT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_location;
68 bool m_locationHasBeenSet = false;
69
70 Aws::String m_requestId;
71 bool m_requestIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace Glacier
76} // namespace Aws
CreateVaultResult & WithRequestId(RequestIdT &&value)
CreateVaultResult & WithLocation(LocationT &&value)
const Aws::String & GetLocation() const
const Aws::String & GetRequestId() const
AWS_GLACIER_API CreateVaultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLACIER_API CreateVaultResult()=default
AWS_GLACIER_API CreateVaultResult(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