AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutMetadataFlagRequest.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/AmplifyUIBuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/amplifyuibuilder/model/PutMetadataFlagBody.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AmplifyUIBuilder
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_AMPLIFYUIBUILDER_API PutMetadataFlagRequest() = 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 "PutMetadataFlag"; }
32
33 AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAppId() const { return m_appId; }
41 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
42 template<typename AppIdT = Aws::String>
43 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
44 template<typename AppIdT = Aws::String>
45 PutMetadataFlagRequest& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
53 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
54 template<typename EnvironmentNameT = Aws::String>
55 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
56 template<typename EnvironmentNameT = Aws::String>
57 PutMetadataFlagRequest& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetFeatureName() const { return m_featureName; }
65 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
66 template<typename FeatureNameT = Aws::String>
67 void SetFeatureName(FeatureNameT&& value) { m_featureNameHasBeenSet = true; m_featureName = std::forward<FeatureNameT>(value); }
68 template<typename FeatureNameT = Aws::String>
69 PutMetadataFlagRequest& WithFeatureName(FeatureNameT&& value) { SetFeatureName(std::forward<FeatureNameT>(value)); return *this;}
71
73
76 inline const PutMetadataFlagBody& GetMemberBody() const { return m_body; }
77 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
78 template<typename BodyT = PutMetadataFlagBody>
79 void SetBody(BodyT&& value) { m_bodyHasBeenSet = true; m_body = std::forward<BodyT>(value); }
80 template<typename BodyT = PutMetadataFlagBody>
81 PutMetadataFlagRequest& WithBody(BodyT&& value) { SetBody(std::forward<BodyT>(value)); return *this;}
83 private:
84
85 Aws::String m_appId;
86 bool m_appIdHasBeenSet = false;
87
88 Aws::String m_environmentName;
89 bool m_environmentNameHasBeenSet = false;
90
91 Aws::String m_featureName;
92 bool m_featureNameHasBeenSet = false;
93
95 bool m_bodyHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace AmplifyUIBuilder
100} // 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