AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
43 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
44 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
45 inline PutMetadataFlagRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
46 inline PutMetadataFlagRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
47 inline PutMetadataFlagRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
49
51
54 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
55 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
56 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
57 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
58 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
59 inline PutMetadataFlagRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
60 inline PutMetadataFlagRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
61 inline PutMetadataFlagRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
63
65
68 inline const Aws::String& GetFeatureName() const{ return m_featureName; }
69 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
70 inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; }
71 inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); }
72 inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); }
73 inline PutMetadataFlagRequest& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;}
74 inline PutMetadataFlagRequest& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;}
75 inline PutMetadataFlagRequest& WithFeatureName(const char* value) { SetFeatureName(value); return *this;}
77
79
82 inline const PutMetadataFlagBody& GetMemberBody() const{ return m_body; }
83 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
84 inline void SetBody(const PutMetadataFlagBody& value) { m_bodyHasBeenSet = true; m_body = value; }
85 inline void SetBody(PutMetadataFlagBody&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); }
86 inline PutMetadataFlagRequest& WithBody(const PutMetadataFlagBody& value) { SetBody(value); return *this;}
87 inline PutMetadataFlagRequest& WithBody(PutMetadataFlagBody&& value) { SetBody(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_appId;
92 bool m_appIdHasBeenSet = false;
93
94 Aws::String m_environmentName;
95 bool m_environmentNameHasBeenSet = false;
96
97 Aws::String m_featureName;
98 bool m_featureNameHasBeenSet = false;
99
100 PutMetadataFlagBody m_body;
101 bool m_bodyHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace AmplifyUIBuilder
106} // namespace Aws
PutMetadataFlagRequest & WithFeatureName(const char *value)
PutMetadataFlagRequest & WithEnvironmentName(const Aws::String &value)
PutMetadataFlagRequest & WithAppId(Aws::String &&value)
PutMetadataFlagRequest & WithBody(const PutMetadataFlagBody &value)
virtual const char * GetServiceRequestName() const override
PutMetadataFlagRequest & WithAppId(const Aws::String &value)
PutMetadataFlagRequest & WithFeatureName(Aws::String &&value)
PutMetadataFlagRequest & WithFeatureName(const Aws::String &value)
PutMetadataFlagRequest & WithBody(PutMetadataFlagBody &&value)
PutMetadataFlagRequest & WithEnvironmentName(const char *value)
AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override
PutMetadataFlagRequest & WithAppId(const char *value)
PutMetadataFlagRequest & WithEnvironmentName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String