AWS SDK for C++  1.9.40
AWS SDK for C++
DisassociateTagOptionFromResourceRequest.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 "DisassociateTagOptionFromResource"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
41 
45  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
46 
50  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
51 
55  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
56 
60  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
61 
65  inline DisassociateTagOptionFromResourceRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
66 
70  inline DisassociateTagOptionFromResourceRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
71 
75  inline DisassociateTagOptionFromResourceRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
76 
77 
81  inline const Aws::String& GetTagOptionId() const{ return m_tagOptionId; }
82 
86  inline bool TagOptionIdHasBeenSet() const { return m_tagOptionIdHasBeenSet; }
87 
91  inline void SetTagOptionId(const Aws::String& value) { m_tagOptionIdHasBeenSet = true; m_tagOptionId = value; }
92 
96  inline void SetTagOptionId(Aws::String&& value) { m_tagOptionIdHasBeenSet = true; m_tagOptionId = std::move(value); }
97 
101  inline void SetTagOptionId(const char* value) { m_tagOptionIdHasBeenSet = true; m_tagOptionId.assign(value); }
102 
106  inline DisassociateTagOptionFromResourceRequest& WithTagOptionId(const Aws::String& value) { SetTagOptionId(value); return *this;}
107 
111  inline DisassociateTagOptionFromResourceRequest& WithTagOptionId(Aws::String&& value) { SetTagOptionId(std::move(value)); return *this;}
112 
116  inline DisassociateTagOptionFromResourceRequest& WithTagOptionId(const char* value) { SetTagOptionId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_resourceId;
121  bool m_resourceIdHasBeenSet;
122 
123  Aws::String m_tagOptionId;
124  bool m_tagOptionIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace ServiceCatalog
129 } // namespace Aws
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: DisassociateTagOptionFromResourceRequest.h:45
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: DisassociateTagOptionFromResourceRequest.h:50
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: DisassociateTagOptionFromResourceRequest.h:55
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::DisassociateTagOptionFromResourceRequest
DisassociateTagOptionFromResourceRequest()
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::WithResourceId
DisassociateTagOptionFromResourceRequest & WithResourceId(Aws::String &&value)
Definition: DisassociateTagOptionFromResourceRequest.h:70
ServiceCatalogRequest.h
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateTagOptionFromResourceRequest.h:30
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest
Definition: DisassociateTagOptionFromResourceRequest.h:22
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::WithResourceId
DisassociateTagOptionFromResourceRequest & WithResourceId(const Aws::String &value)
Definition: DisassociateTagOptionFromResourceRequest.h:65
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::WithTagOptionId
DisassociateTagOptionFromResourceRequest & WithTagOptionId(Aws::String &&value)
Definition: DisassociateTagOptionFromResourceRequest.h:111
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::GetTagOptionId
const Aws::String & GetTagOptionId() const
Definition: DisassociateTagOptionFromResourceRequest.h:81
Aws::ServiceCatalog::ServiceCatalogRequest
Definition: ServiceCatalogRequest.h:17
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::WithResourceId
DisassociateTagOptionFromResourceRequest & WithResourceId(const char *value)
Definition: DisassociateTagOptionFromResourceRequest.h:75
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::SetResourceId
void SetResourceId(const char *value)
Definition: DisassociateTagOptionFromResourceRequest.h:60
AWSString.h
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::WithTagOptionId
DisassociateTagOptionFromResourceRequest & WithTagOptionId(const char *value)
Definition: DisassociateTagOptionFromResourceRequest.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::SetTagOptionId
void SetTagOptionId(Aws::String &&value)
Definition: DisassociateTagOptionFromResourceRequest.h:96
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::SetTagOptionId
void SetTagOptionId(const char *value)
Definition: DisassociateTagOptionFromResourceRequest.h:101
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: DisassociateTagOptionFromResourceRequest.h:40
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::WithTagOptionId
DisassociateTagOptionFromResourceRequest & WithTagOptionId(const Aws::String &value)
Definition: DisassociateTagOptionFromResourceRequest.h:106
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::SetTagOptionId
void SetTagOptionId(const Aws::String &value)
Definition: DisassociateTagOptionFromResourceRequest.h:91
Aws::ServiceCatalog::Model::DisassociateTagOptionFromResourceRequest::TagOptionIdHasBeenSet
bool TagOptionIdHasBeenSet() const
Definition: DisassociateTagOptionFromResourceRequest.h:86