AWS SDK for C++  1.9.123
AWS SDK for C++
DeleteComponentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GreengrassV2
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 "DeleteComponent"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
40  inline const Aws::String& GetArn() const{ return m_arn; }
41 
47  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 
54  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
55 
61  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
62 
68  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
69 
75  inline DeleteComponentRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
76 
82  inline DeleteComponentRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
83 
89  inline DeleteComponentRequest& WithArn(const char* value) { SetArn(value); return *this;}
90 
91  private:
92 
93  Aws::String m_arn;
94  bool m_arnHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace GreengrassV2
99 } // namespace Aws
Aws::GreengrassV2::Model::DeleteComponentRequest::SetArn
void SetArn(const Aws::String &value)
Definition: DeleteComponentRequest.h:54
Aws::GreengrassV2::Model::DeleteComponentRequest::WithArn
DeleteComponentRequest & WithArn(Aws::String &&value)
Definition: DeleteComponentRequest.h:82
Aws::GreengrassV2::Model::DeleteComponentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteComponentRequest.h:30
GreengrassV2Request.h
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::DeleteComponentRequest::WithArn
DeleteComponentRequest & WithArn(const Aws::String &value)
Definition: DeleteComponentRequest.h:75
Aws::GreengrassV2::Model::DeleteComponentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GreengrassV2::Model::DeleteComponentRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: DeleteComponentRequest.h:47
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::DeleteComponentRequest
Definition: DeleteComponentRequest.h:22
Aws::GreengrassV2::Model::DeleteComponentRequest::WithArn
DeleteComponentRequest & WithArn(const char *value)
Definition: DeleteComponentRequest.h:89
Aws::GreengrassV2::Model::DeleteComponentRequest::SetArn
void SetArn(const char *value)
Definition: DeleteComponentRequest.h:68
Aws::GreengrassV2::GreengrassV2Request
Definition: GreengrassV2Request.h:17
AWSString.h
Aws::GreengrassV2::Model::DeleteComponentRequest::SetArn
void SetArn(Aws::String &&value)
Definition: DeleteComponentRequest.h:61
Aws::GreengrassV2::Model::DeleteComponentRequest::GetArn
const Aws::String & GetArn() const
Definition: DeleteComponentRequest.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::DeleteComponentRequest::DeleteComponentRequest
DeleteComponentRequest()