AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePolicyStoreRequest.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/VerifiedPermissionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/verifiedpermissions/model/ValidationSettings.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace VerifiedPermissions
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_VERIFIEDPERMISSIONS_API CreatePolicyStoreRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreatePolicyStore"; }
33
34 AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override;
35
36 AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
55 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
56 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
57 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
58 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
59 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
60 inline CreatePolicyStoreRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
61 inline CreatePolicyStoreRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
62 inline CreatePolicyStoreRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
64
66
78 inline const ValidationSettings& GetValidationSettings() const{ return m_validationSettings; }
79 inline bool ValidationSettingsHasBeenSet() const { return m_validationSettingsHasBeenSet; }
80 inline void SetValidationSettings(const ValidationSettings& value) { m_validationSettingsHasBeenSet = true; m_validationSettings = value; }
81 inline void SetValidationSettings(ValidationSettings&& value) { m_validationSettingsHasBeenSet = true; m_validationSettings = std::move(value); }
85
87
91 inline const Aws::String& GetDescription() const{ return m_description; }
92 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
93 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
94 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
95 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
96 inline CreatePolicyStoreRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
97 inline CreatePolicyStoreRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
98 inline CreatePolicyStoreRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
100 private:
101
102 Aws::String m_clientToken;
103 bool m_clientTokenHasBeenSet = false;
104
105 ValidationSettings m_validationSettings;
106 bool m_validationSettingsHasBeenSet = false;
107
108 Aws::String m_description;
109 bool m_descriptionHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace VerifiedPermissions
114} // namespace Aws
CreatePolicyStoreRequest & WithClientToken(const Aws::String &value)
CreatePolicyStoreRequest & WithClientToken(const char *value)
CreatePolicyStoreRequest & WithClientToken(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
CreatePolicyStoreRequest & WithDescription(const char *value)
AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreatePolicyStoreRequest & WithDescription(const Aws::String &value)
CreatePolicyStoreRequest & WithValidationSettings(ValidationSettings &&value)
CreatePolicyStoreRequest & WithValidationSettings(const ValidationSettings &value)
CreatePolicyStoreRequest & WithDescription(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String