AWS SDK for C++

AWS SDK for C++ Version 1.11.711

Loading...
Searching...
No Matches
UpdateOutpostResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/outposts/Outposts_EXPORTS.h>
9#include <aws/outposts/model/Outpost.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 Outposts {
23namespace Model {
25 public:
26 AWS_OUTPOSTS_API UpdateOutpostResult() = default;
29
31
32 inline const Outpost& GetOutpost() const { return m_outpost; }
33 template <typename OutpostT = Outpost>
34 void SetOutpost(OutpostT&& value) {
35 m_outpostHasBeenSet = true;
36 m_outpost = std::forward<OutpostT>(value);
37 }
38 template <typename OutpostT = Outpost>
39 UpdateOutpostResult& WithOutpost(OutpostT&& value) {
40 SetOutpost(std::forward<OutpostT>(value));
41 return *this;
42 }
44
46
47 inline const Aws::String& GetRequestId() const { return m_requestId; }
48 template <typename RequestIdT = Aws::String>
49 void SetRequestId(RequestIdT&& value) {
50 m_requestIdHasBeenSet = true;
51 m_requestId = std::forward<RequestIdT>(value);
52 }
53 template <typename RequestIdT = Aws::String>
54 UpdateOutpostResult& WithRequestId(RequestIdT&& value) {
55 SetRequestId(std::forward<RequestIdT>(value));
56 return *this;
57 }
59 private:
60 Outpost m_outpost;
61
62 Aws::String m_requestId;
63 bool m_outpostHasBeenSet = false;
64 bool m_requestIdHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace Outposts
69} // namespace Aws
AWS_OUTPOSTS_API UpdateOutpostResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OUTPOSTS_API UpdateOutpostResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateOutpostResult & WithRequestId(RequestIdT &&value)
UpdateOutpostResult & WithOutpost(OutpostT &&value)
AWS_OUTPOSTS_API UpdateOutpostResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue