AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DeleteServiceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/migration-hub-refactor-spaces/MigrationHubRefactorSpacesRequest.h>
9#include <aws/migration-hub-refactor-spaces/MigrationHubRefactorSpaces_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace MigrationHubRefactorSpaces {
15namespace Model {
16
20 public:
21 AWS_MIGRATIONHUBREFACTORSPACES_API DeleteServiceRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteService"; }
28
29 AWS_MIGRATIONHUBREFACTORSPACES_API Aws::String SerializePayload() const override;
30
32
38 inline const Aws::String& GetApplicationIdentifier() const { return m_applicationIdentifier; }
39 inline bool ApplicationIdentifierHasBeenSet() const { return m_applicationIdentifierHasBeenSet; }
40 template <typename ApplicationIdentifierT = Aws::String>
41 void SetApplicationIdentifier(ApplicationIdentifierT&& value) {
42 m_applicationIdentifierHasBeenSet = true;
43 m_applicationIdentifier = std::forward<ApplicationIdentifierT>(value);
44 }
45 template <typename ApplicationIdentifierT = Aws::String>
46 DeleteServiceRequest& WithApplicationIdentifier(ApplicationIdentifierT&& value) {
47 SetApplicationIdentifier(std::forward<ApplicationIdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetEnvironmentIdentifier() const { return m_environmentIdentifier; }
57 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
58 template <typename EnvironmentIdentifierT = Aws::String>
59 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) {
60 m_environmentIdentifierHasBeenSet = true;
61 m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value);
62 }
63 template <typename EnvironmentIdentifierT = Aws::String>
64 DeleteServiceRequest& WithEnvironmentIdentifier(EnvironmentIdentifierT&& value) {
65 SetEnvironmentIdentifier(std::forward<EnvironmentIdentifierT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetServiceIdentifier() const { return m_serviceIdentifier; }
75 inline bool ServiceIdentifierHasBeenSet() const { return m_serviceIdentifierHasBeenSet; }
76 template <typename ServiceIdentifierT = Aws::String>
77 void SetServiceIdentifier(ServiceIdentifierT&& value) {
78 m_serviceIdentifierHasBeenSet = true;
79 m_serviceIdentifier = std::forward<ServiceIdentifierT>(value);
80 }
81 template <typename ServiceIdentifierT = Aws::String>
82 DeleteServiceRequest& WithServiceIdentifier(ServiceIdentifierT&& value) {
83 SetServiceIdentifier(std::forward<ServiceIdentifierT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_applicationIdentifier;
89
90 Aws::String m_environmentIdentifier;
91
92 Aws::String m_serviceIdentifier;
93 bool m_applicationIdentifierHasBeenSet = false;
94 bool m_environmentIdentifierHasBeenSet = false;
95 bool m_serviceIdentifierHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace MigrationHubRefactorSpaces
100} // namespace Aws
DeleteServiceRequest & WithServiceIdentifier(ServiceIdentifierT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API Aws::String SerializePayload() const override
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteServiceRequest()=default
DeleteServiceRequest & WithApplicationIdentifier(ApplicationIdentifierT &&value)
DeleteServiceRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String