AWS SDK for C++  1.9.153
AWS SDK for C++
DeleteSiteRequest.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 "DeleteSite"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
35 
36  inline const Aws::String& GetSiteId() const{ return m_siteId; }
37 
38 
39  inline bool SiteIdHasBeenSet() const { return m_siteIdHasBeenSet; }
40 
41 
42  inline void SetSiteId(const Aws::String& value) { m_siteIdHasBeenSet = true; m_siteId = value; }
43 
44 
45  inline void SetSiteId(Aws::String&& value) { m_siteIdHasBeenSet = true; m_siteId = std::move(value); }
46 
47 
48  inline void SetSiteId(const char* value) { m_siteIdHasBeenSet = true; m_siteId.assign(value); }
49 
50 
51  inline DeleteSiteRequest& WithSiteId(const Aws::String& value) { SetSiteId(value); return *this;}
52 
53 
54  inline DeleteSiteRequest& WithSiteId(Aws::String&& value) { SetSiteId(std::move(value)); return *this;}
55 
56 
57  inline DeleteSiteRequest& WithSiteId(const char* value) { SetSiteId(value); return *this;}
58 
59  private:
60 
61  Aws::String m_siteId;
62  bool m_siteIdHasBeenSet;
63  };
64 
65 } // namespace Model
66 } // namespace Outposts
67 } // namespace Aws
Aws::Outposts::Model::DeleteSiteRequest::WithSiteId
DeleteSiteRequest & WithSiteId(const Aws::String &value)
Definition: DeleteSiteRequest.h:51
Aws::Outposts::Model::DeleteSiteRequest::SiteIdHasBeenSet
bool SiteIdHasBeenSet() const
Definition: DeleteSiteRequest.h:39
OutpostsRequest.h
Aws::Outposts::Model::DeleteSiteRequest::DeleteSiteRequest
DeleteSiteRequest()
Aws::Outposts::Model::DeleteSiteRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Outposts::Model::DeleteSiteRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteSiteRequest.h:30
AWSString.h
Aws::Outposts::Model::DeleteSiteRequest
Definition: DeleteSiteRequest.h:22
AWS_OUTPOSTS_API
#define AWS_OUTPOSTS_API
Definition: Outposts_EXPORTS.h:28
Aws::Outposts::Model::DeleteSiteRequest::WithSiteId
DeleteSiteRequest & WithSiteId(Aws::String &&value)
Definition: DeleteSiteRequest.h:54
Aws::Outposts::Model::DeleteSiteRequest::SetSiteId
void SetSiteId(const char *value)
Definition: DeleteSiteRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::Outposts::Model::DeleteSiteRequest::SetSiteId
void SetSiteId(const Aws::String &value)
Definition: DeleteSiteRequest.h:42
Aws::Outposts::Model::DeleteSiteRequest::GetSiteId
const Aws::String & GetSiteId() const
Definition: DeleteSiteRequest.h:36
Aws::Outposts::Model::DeleteSiteRequest::WithSiteId
DeleteSiteRequest & WithSiteId(const char *value)
Definition: DeleteSiteRequest.h:57
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::DeleteSiteRequest::SetSiteId
void SetSiteId(Aws::String &&value)
Definition: DeleteSiteRequest.h:45