AWS SDK for C++  1.9.103
AWS SDK for C++
DeleteActivityRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SFN
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 "DeleteActivity"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetActivityArn() const{ return m_activityArn; }
41 
45  inline bool ActivityArnHasBeenSet() const { return m_activityArnHasBeenSet; }
46 
50  inline void SetActivityArn(const Aws::String& value) { m_activityArnHasBeenSet = true; m_activityArn = value; }
51 
55  inline void SetActivityArn(Aws::String&& value) { m_activityArnHasBeenSet = true; m_activityArn = std::move(value); }
56 
60  inline void SetActivityArn(const char* value) { m_activityArnHasBeenSet = true; m_activityArn.assign(value); }
61 
65  inline DeleteActivityRequest& WithActivityArn(const Aws::String& value) { SetActivityArn(value); return *this;}
66 
70  inline DeleteActivityRequest& WithActivityArn(Aws::String&& value) { SetActivityArn(std::move(value)); return *this;}
71 
75  inline DeleteActivityRequest& WithActivityArn(const char* value) { SetActivityArn(value); return *this;}
76 
77  private:
78 
79  Aws::String m_activityArn;
80  bool m_activityArnHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace SFN
85 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SFN::Model::DeleteActivityRequest
Definition: DeleteActivityRequest.h:22
Aws::SFN::Model::DeleteActivityRequest::SetActivityArn
void SetActivityArn(const char *value)
Definition: DeleteActivityRequest.h:60
Aws::SFN::Model::DeleteActivityRequest::WithActivityArn
DeleteActivityRequest & WithActivityArn(const Aws::String &value)
Definition: DeleteActivityRequest.h:65
Aws::SFN::SFNRequest
Definition: SFNRequest.h:17
Aws::SFN::Model::DeleteActivityRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SFN::Model::DeleteActivityRequest::DeleteActivityRequest
DeleteActivityRequest()
Aws::SFN::Model::DeleteActivityRequest::WithActivityArn
DeleteActivityRequest & WithActivityArn(Aws::String &&value)
Definition: DeleteActivityRequest.h:70
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::DeleteActivityRequest::WithActivityArn
DeleteActivityRequest & WithActivityArn(const char *value)
Definition: DeleteActivityRequest.h:75
Aws::SFN::Model::DeleteActivityRequest::ActivityArnHasBeenSet
bool ActivityArnHasBeenSet() const
Definition: DeleteActivityRequest.h:45
SFNRequest.h
AWSString.h
Aws::SFN::Model::DeleteActivityRequest::SetActivityArn
void SetActivityArn(Aws::String &&value)
Definition: DeleteActivityRequest.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::DeleteActivityRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::DeleteActivityRequest::GetActivityArn
const Aws::String & GetActivityArn() const
Definition: DeleteActivityRequest.h:40
Aws::SFN::Model::DeleteActivityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteActivityRequest.h:30
Aws::SFN::Model::DeleteActivityRequest::SetActivityArn
void SetActivityArn(const Aws::String &value)
Definition: DeleteActivityRequest.h:50