AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
DeleteExperimentDefinitionRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfigRequest.h>
8#include <aws/appconfig/AppConfig_EXPORTS.h>
9#include <aws/appconfig/model/DeleteType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace AppConfig {
19namespace Model {
20
24 public:
25 AWS_APPCONFIG_API DeleteExperimentDefinitionRequest() = default;
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 "DeleteExperimentDefinition"; }
32
33 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
34
35 AWS_APPCONFIG_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetApplicationIdentifier() const { return m_applicationIdentifier; }
42 inline bool ApplicationIdentifierHasBeenSet() const { return m_applicationIdentifierHasBeenSet; }
43 template <typename ApplicationIdentifierT = Aws::String>
44 void SetApplicationIdentifier(ApplicationIdentifierT&& value) {
45 m_applicationIdentifierHasBeenSet = true;
46 m_applicationIdentifier = std::forward<ApplicationIdentifierT>(value);
47 }
48 template <typename ApplicationIdentifierT = Aws::String>
50 SetApplicationIdentifier(std::forward<ApplicationIdentifierT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetExperimentDefinitionIdentifier() const { return m_experimentDefinitionIdentifier; }
60 inline bool ExperimentDefinitionIdentifierHasBeenSet() const { return m_experimentDefinitionIdentifierHasBeenSet; }
61 template <typename ExperimentDefinitionIdentifierT = Aws::String>
62 void SetExperimentDefinitionIdentifier(ExperimentDefinitionIdentifierT&& value) {
63 m_experimentDefinitionIdentifierHasBeenSet = true;
64 m_experimentDefinitionIdentifier = std::forward<ExperimentDefinitionIdentifierT>(value);
65 }
66 template <typename ExperimentDefinitionIdentifierT = Aws::String>
68 SetExperimentDefinitionIdentifier(std::forward<ExperimentDefinitionIdentifierT>(value));
69 return *this;
70 }
72
74
78 inline DeleteType GetDeleteType() const { return m_deleteType; }
79 inline bool DeleteTypeHasBeenSet() const { return m_deleteTypeHasBeenSet; }
80 inline void SetDeleteType(DeleteType value) {
81 m_deleteTypeHasBeenSet = true;
82 m_deleteType = value;
83 }
85 SetDeleteType(value);
86 return *this;
87 }
89 private:
90 Aws::String m_applicationIdentifier;
91
92 Aws::String m_experimentDefinitionIdentifier;
93
94 DeleteType m_deleteType{DeleteType::NOT_SET};
95 bool m_applicationIdentifierHasBeenSet = false;
96 bool m_experimentDefinitionIdentifierHasBeenSet = false;
97 bool m_deleteTypeHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace AppConfig
102} // namespace Aws
DeleteExperimentDefinitionRequest & WithDeleteType(DeleteType value)
DeleteExperimentDefinitionRequest & WithExperimentDefinitionIdentifier(ExperimentDefinitionIdentifierT &&value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
void SetExperimentDefinitionIdentifier(ExperimentDefinitionIdentifierT &&value)
DeleteExperimentDefinitionRequest & WithApplicationIdentifier(ApplicationIdentifierT &&value)
AWS_APPCONFIG_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPCONFIG_API DeleteExperimentDefinitionRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String