AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateResourceRequest.h
1
6#pragma once
7#include <aws/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8#include <aws/servicecatalog-appregistry/AppRegistryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/servicecatalog-appregistry/model/ResourceType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AppRegistry
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPREGISTRY_API DisassociateResourceRequest();
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 "DisassociateResource"; }
32
33 AWS_APPREGISTRY_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetApplication() const{ return m_application; }
41 inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
42 inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
43 inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
44 inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
45 inline DisassociateResourceRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
46 inline DisassociateResourceRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
47 inline DisassociateResourceRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
49
51
54 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
55 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
56 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
57 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
58 inline DisassociateResourceRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
59 inline DisassociateResourceRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetResource() const{ return m_resource; }
67 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
68 inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
69 inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
70 inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
71 inline DisassociateResourceRequest& WithResource(const Aws::String& value) { SetResource(value); return *this;}
72 inline DisassociateResourceRequest& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
73 inline DisassociateResourceRequest& WithResource(const char* value) { SetResource(value); return *this;}
75 private:
76
77 Aws::String m_application;
78 bool m_applicationHasBeenSet = false;
79
80 ResourceType m_resourceType;
81 bool m_resourceTypeHasBeenSet = false;
82
83 Aws::String m_resource;
84 bool m_resourceHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace AppRegistry
89} // namespace Aws
DisassociateResourceRequest & WithResource(const char *value)
DisassociateResourceRequest & WithApplication(const Aws::String &value)
DisassociateResourceRequest & WithResourceType(const ResourceType &value)
DisassociateResourceRequest & WithResourceType(ResourceType &&value)
AWS_APPREGISTRY_API Aws::String SerializePayload() const override
DisassociateResourceRequest & WithApplication(const char *value)
DisassociateResourceRequest & WithApplication(Aws::String &&value)
DisassociateResourceRequest & WithResource(Aws::String &&value)
DisassociateResourceRequest & WithResource(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String