AWS SDK for C++  1.9.40
AWS SDK for C++
DeleteServiceActionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ServiceCatalog
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 "DeleteServiceAction"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetId() const{ return m_id; }
42 
47  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 
53  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
65  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 
71  inline DeleteServiceActionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
72 
77  inline DeleteServiceActionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
78 
83  inline DeleteServiceActionRequest& WithId(const char* value) { SetId(value); return *this;}
84 
85 
91  inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
92 
98  inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
99 
105  inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
106 
112  inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
113 
119  inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
120 
126  inline DeleteServiceActionRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
127 
133  inline DeleteServiceActionRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
134 
140  inline DeleteServiceActionRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
141 
142  private:
143 
144  Aws::String m_id;
145  bool m_idHasBeenSet;
146 
147  Aws::String m_acceptLanguage;
148  bool m_acceptLanguageHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace ServiceCatalog
153 } // namespace Aws
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::DeleteServiceActionRequest
DeleteServiceActionRequest()
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::SetId
void SetId(Aws::String &&value)
Definition: DeleteServiceActionRequest.h:59
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::WithId
DeleteServiceActionRequest & WithId(const char *value)
Definition: DeleteServiceActionRequest.h:83
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DeleteServiceActionRequest.h:47
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::WithAcceptLanguage
DeleteServiceActionRequest & WithAcceptLanguage(Aws::String &&value)
Definition: DeleteServiceActionRequest.h:133
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::AcceptLanguageHasBeenSet
bool AcceptLanguageHasBeenSet() const
Definition: DeleteServiceActionRequest.h:98
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::WithId
DeleteServiceActionRequest & WithId(Aws::String &&value)
Definition: DeleteServiceActionRequest.h:77
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::DeleteServiceActionRequest
Definition: DeleteServiceActionRequest.h:22
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::SetAcceptLanguage
void SetAcceptLanguage(const Aws::String &value)
Definition: DeleteServiceActionRequest.h:105
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::SetId
void SetId(const Aws::String &value)
Definition: DeleteServiceActionRequest.h:53
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::SetAcceptLanguage
void SetAcceptLanguage(const char *value)
Definition: DeleteServiceActionRequest.h:119
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::GetAcceptLanguage
const Aws::String & GetAcceptLanguage() const
Definition: DeleteServiceActionRequest.h:91
AWSString.h
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::SetAcceptLanguage
void SetAcceptLanguage(Aws::String &&value)
Definition: DeleteServiceActionRequest.h:112
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::WithId
DeleteServiceActionRequest & WithId(const Aws::String &value)
Definition: DeleteServiceActionRequest.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::SetId
void SetId(const char *value)
Definition: DeleteServiceActionRequest.h:65
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::WithAcceptLanguage
DeleteServiceActionRequest & WithAcceptLanguage(const char *value)
Definition: DeleteServiceActionRequest.h:140
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteServiceActionRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::WithAcceptLanguage
DeleteServiceActionRequest & WithAcceptLanguage(const Aws::String &value)
Definition: DeleteServiceActionRequest.h:126
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::DeleteServiceActionRequest::GetId
const Aws::String & GetId() const
Definition: DeleteServiceActionRequest.h:41