AWS SDK for C++

AWS SDK for C++ Version 1.11.902

Loading...
Searching...
No Matches
DeleteApplicationRequest.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsServiceRequest.h>
8#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace AppIntegrationsService {
18namespace Model {
19
23 public:
24 AWS_APPINTEGRATIONSSERVICE_API DeleteApplicationRequest() = default;
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 "DeleteApplication"; }
31
32 AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override;
33
34 AWS_APPINTEGRATIONSSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
64 inline bool GetForce() const { return m_force; }
65 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
66 inline void SetForce(bool value) {
67 m_forceHasBeenSet = true;
68 m_force = value;
69 }
70 inline DeleteApplicationRequest& WithForce(bool value) {
71 SetForce(value);
72 return *this;
73 }
75 private:
76 Aws::String m_arn;
77
78 bool m_force{false};
79 bool m_arnHasBeenSet = false;
80 bool m_forceHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace AppIntegrationsService
85} // namespace Aws
AWS_APPINTEGRATIONSSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override
AWS_APPINTEGRATIONSSERVICE_API DeleteApplicationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String