AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RemoveAllBackendsRequest.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackendRequest.h>
8#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AmplifyBackend {
15namespace Model {
16
23 public:
24 AWS_AMPLIFYBACKEND_API RemoveAllBackendsRequest() = 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 "RemoveAllBackends"; }
31
32 AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetAppId() const { return m_appId; }
39 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
40 template <typename AppIdT = Aws::String>
41 void SetAppId(AppIdT&& value) {
42 m_appIdHasBeenSet = true;
43 m_appId = std::forward<AppIdT>(value);
44 }
45 template <typename AppIdT = Aws::String>
47 SetAppId(std::forward<AppIdT>(value));
48 return *this;
49 }
51
53
56 inline bool GetCleanAmplifyApp() const { return m_cleanAmplifyApp; }
57 inline bool CleanAmplifyAppHasBeenSet() const { return m_cleanAmplifyAppHasBeenSet; }
58 inline void SetCleanAmplifyApp(bool value) {
59 m_cleanAmplifyAppHasBeenSet = true;
60 m_cleanAmplifyApp = value;
61 }
63 SetCleanAmplifyApp(value);
64 return *this;
65 }
67 private:
68 Aws::String m_appId;
69
70 bool m_cleanAmplifyApp{false};
71 bool m_appIdHasBeenSet = false;
72 bool m_cleanAmplifyAppHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace AmplifyBackend
77} // namespace Aws
AWS_AMPLIFYBACKEND_API RemoveAllBackendsRequest()=default
RemoveAllBackendsRequest & WithCleanAmplifyApp(bool value)
virtual const char * GetServiceRequestName() const override
RemoveAllBackendsRequest & WithAppId(AppIdT &&value)
AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String