AWS SDK for C++  1.9.153
AWS SDK for C++
GetOutpostRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Outposts
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetOutpost"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetOutpostId() const{ return m_outpostId; }
39 
43  inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
44 
48  inline void SetOutpostId(const Aws::String& value) { m_outpostIdHasBeenSet = true; m_outpostId = value; }
49 
53  inline void SetOutpostId(Aws::String&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::move(value); }
54 
58  inline void SetOutpostId(const char* value) { m_outpostIdHasBeenSet = true; m_outpostId.assign(value); }
59 
63  inline GetOutpostRequest& WithOutpostId(const Aws::String& value) { SetOutpostId(value); return *this;}
64 
68  inline GetOutpostRequest& WithOutpostId(Aws::String&& value) { SetOutpostId(std::move(value)); return *this;}
69 
73  inline GetOutpostRequest& WithOutpostId(const char* value) { SetOutpostId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_outpostId;
78  bool m_outpostIdHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace Outposts
83 } // namespace Aws
Aws::Outposts::Model::GetOutpostRequest::WithOutpostId
GetOutpostRequest & WithOutpostId(const Aws::String &value)
Definition: GetOutpostRequest.h:63
Aws::Outposts::Model::GetOutpostRequest::GetOutpostId
const Aws::String & GetOutpostId() const
Definition: GetOutpostRequest.h:38
OutpostsRequest.h
Aws::Outposts::Model::GetOutpostRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetOutpostRequest.h:30
Aws::Outposts::Model::GetOutpostRequest
Definition: GetOutpostRequest.h:22
Aws::Outposts::Model::GetOutpostRequest::SetOutpostId
void SetOutpostId(const char *value)
Definition: GetOutpostRequest.h:58
Aws::Outposts::Model::GetOutpostRequest::GetOutpostRequest
GetOutpostRequest()
Aws::Outposts::Model::GetOutpostRequest::SetOutpostId
void SetOutpostId(Aws::String &&value)
Definition: GetOutpostRequest.h:53
Aws::Outposts::Model::GetOutpostRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::Outposts::Model::GetOutpostRequest::SetOutpostId
void SetOutpostId(const Aws::String &value)
Definition: GetOutpostRequest.h:48
Aws::Outposts::Model::GetOutpostRequest::WithOutpostId
GetOutpostRequest & WithOutpostId(const char *value)
Definition: GetOutpostRequest.h:73
AWS_OUTPOSTS_API
#define AWS_OUTPOSTS_API
Definition: Outposts_EXPORTS.h:28
Aws::Outposts::Model::GetOutpostRequest::OutpostIdHasBeenSet
bool OutpostIdHasBeenSet() const
Definition: GetOutpostRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Outposts_EXPORTS.h
Aws::Outposts::OutpostsRequest
Definition: OutpostsRequest.h:17
Aws::Outposts::Model::GetOutpostRequest::WithOutpostId
GetOutpostRequest & WithOutpostId(Aws::String &&value)
Definition: GetOutpostRequest.h:68