AWS SDK for C++  1.9.158
AWS SDK for C++
UndeprecateActivityTypeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/swf/SWF_EXPORTS.h>
8 #include <aws/swf/SWFRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SWF
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UndeprecateActivityType"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDomain() const{ return m_domain; }
42 
46  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
47 
51  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
52 
56  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
57 
61  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
62 
66  inline UndeprecateActivityTypeRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
67 
71  inline UndeprecateActivityTypeRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
72 
76  inline UndeprecateActivityTypeRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
77 
78 
82  inline const ActivityType& GetActivityType() const{ return m_activityType; }
83 
87  inline bool ActivityTypeHasBeenSet() const { return m_activityTypeHasBeenSet; }
88 
92  inline void SetActivityType(const ActivityType& value) { m_activityTypeHasBeenSet = true; m_activityType = value; }
93 
97  inline void SetActivityType(ActivityType&& value) { m_activityTypeHasBeenSet = true; m_activityType = std::move(value); }
98 
102  inline UndeprecateActivityTypeRequest& WithActivityType(const ActivityType& value) { SetActivityType(value); return *this;}
103 
107  inline UndeprecateActivityTypeRequest& WithActivityType(ActivityType&& value) { SetActivityType(std::move(value)); return *this;}
108 
109  private:
110 
111  Aws::String m_domain;
112  bool m_domainHasBeenSet;
113 
114  ActivityType m_activityType;
115  bool m_activityTypeHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace SWF
120 } // namespace Aws
SWFRequest.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SWF::Model::UndeprecateActivityTypeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SWF::SWFRequest
Definition: SWFRequest.h:17
Aws::SWF::Model::UndeprecateActivityTypeRequest::SetDomain
void SetDomain(Aws::String &&value)
Definition: UndeprecateActivityTypeRequest.h:56
Aws::SWF::Model::UndeprecateActivityTypeRequest::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: UndeprecateActivityTypeRequest.h:46
Aws::SWF::Model::UndeprecateActivityTypeRequest::WithActivityType
UndeprecateActivityTypeRequest & WithActivityType(const ActivityType &value)
Definition: UndeprecateActivityTypeRequest.h:102
Aws::SWF::Model::UndeprecateActivityTypeRequest::GetActivityType
const ActivityType & GetActivityType() const
Definition: UndeprecateActivityTypeRequest.h:82
Aws::SWF::Model::UndeprecateActivityTypeRequest::SetActivityType
void SetActivityType(const ActivityType &value)
Definition: UndeprecateActivityTypeRequest.h:92
Aws::SWF::Model::UndeprecateActivityTypeRequest::UndeprecateActivityTypeRequest
UndeprecateActivityTypeRequest()
Aws::SWF::Model::UndeprecateActivityTypeRequest::SetDomain
void SetDomain(const Aws::String &value)
Definition: UndeprecateActivityTypeRequest.h:51
SWF_EXPORTS.h
Aws::SWF::Model::UndeprecateActivityTypeRequest::WithActivityType
UndeprecateActivityTypeRequest & WithActivityType(ActivityType &&value)
Definition: UndeprecateActivityTypeRequest.h:107
Aws::DevOpsGuru::Model::ServiceName::NOT_SET
@ NOT_SET
Aws::SWF::Model::UndeprecateActivityTypeRequest
Definition: UndeprecateActivityTypeRequest.h:23
Aws::SWF::Model::UndeprecateActivityTypeRequest::SetActivityType
void SetActivityType(ActivityType &&value)
Definition: UndeprecateActivityTypeRequest.h:97
AWSString.h
Aws::SWF::Model::UndeprecateActivityTypeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UndeprecateActivityTypeRequest.h:31
Aws::SWF::Model::UndeprecateActivityTypeRequest::ActivityTypeHasBeenSet
bool ActivityTypeHasBeenSet() const
Definition: UndeprecateActivityTypeRequest.h:87
Aws::SWF::Model::ActivityType
Definition: ActivityType.h:32
Aws::SWF::Model::UndeprecateActivityTypeRequest::GetDomain
const Aws::String & GetDomain() const
Definition: UndeprecateActivityTypeRequest.h:41
Aws
Definition: AccessManagementClient.h:15
Aws::SWF::Model::UndeprecateActivityTypeRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ActivityType.h
AWS_SWF_API
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:28
Aws::SWF::Model::UndeprecateActivityTypeRequest::SetDomain
void SetDomain(const char *value)
Definition: UndeprecateActivityTypeRequest.h:61
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SWF::Model::UndeprecateActivityTypeRequest::WithDomain
UndeprecateActivityTypeRequest & WithDomain(const Aws::String &value)
Definition: UndeprecateActivityTypeRequest.h:66
Aws::SWF::Model::UndeprecateActivityTypeRequest::WithDomain
UndeprecateActivityTypeRequest & WithDomain(Aws::String &&value)
Definition: UndeprecateActivityTypeRequest.h:71
Aws::SWF::Model::UndeprecateActivityTypeRequest::WithDomain
UndeprecateActivityTypeRequest & WithDomain(const char *value)
Definition: UndeprecateActivityTypeRequest.h:76