AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
PutMetadataFlagRequest.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilderRequest.h>
8#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
9#include <aws/amplifyuibuilder/model/PutMetadataFlagBody.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AmplifyUIBuilder {
16namespace Model {
17
21 public:
22 AWS_AMPLIFYUIBUILDER_API PutMetadataFlagRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "PutMetadataFlag"; }
29
30 AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetAppId() const { return m_appId; }
37 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
38 template <typename AppIdT = Aws::String>
39 void SetAppId(AppIdT&& value) {
40 m_appIdHasBeenSet = true;
41 m_appId = std::forward<AppIdT>(value);
42 }
43 template <typename AppIdT = Aws::String>
45 SetAppId(std::forward<AppIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
55 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
56 template <typename EnvironmentNameT = Aws::String>
57 void SetEnvironmentName(EnvironmentNameT&& value) {
58 m_environmentNameHasBeenSet = true;
59 m_environmentName = std::forward<EnvironmentNameT>(value);
60 }
61 template <typename EnvironmentNameT = Aws::String>
62 PutMetadataFlagRequest& WithEnvironmentName(EnvironmentNameT&& value) {
63 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetFeatureName() const { return m_featureName; }
73 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
74 template <typename FeatureNameT = Aws::String>
75 void SetFeatureName(FeatureNameT&& value) {
76 m_featureNameHasBeenSet = true;
77 m_featureName = std::forward<FeatureNameT>(value);
78 }
79 template <typename FeatureNameT = Aws::String>
80 PutMetadataFlagRequest& WithFeatureName(FeatureNameT&& value) {
81 SetFeatureName(std::forward<FeatureNameT>(value));
82 return *this;
83 }
85
87
90 inline const PutMetadataFlagBody& GetMemberBody() const { return m_body; }
91 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
92 template <typename BodyT = PutMetadataFlagBody>
93 void SetBody(BodyT&& value) {
94 m_bodyHasBeenSet = true;
95 m_body = std::forward<BodyT>(value);
96 }
97 template <typename BodyT = PutMetadataFlagBody>
99 SetBody(std::forward<BodyT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_appId;
105
106 Aws::String m_environmentName;
107
108 Aws::String m_featureName;
109
110 PutMetadataFlagBody m_body;
111 bool m_appIdHasBeenSet = false;
112 bool m_environmentNameHasBeenSet = false;
113 bool m_featureNameHasBeenSet = false;
114 bool m_bodyHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace AmplifyUIBuilder
119} // namespace Aws
PutMetadataFlagRequest & WithFeatureName(FeatureNameT &&value)
virtual const char * GetServiceRequestName() const override
PutMetadataFlagRequest & WithAppId(AppIdT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override
PutMetadataFlagRequest & WithEnvironmentName(EnvironmentNameT &&value)
AWS_AMPLIFYUIBUILDER_API PutMetadataFlagRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String