AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePolicyStoreRequest.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
13namespace Aws
14{
15namespace VerifiedPermissions
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_VERIFIEDPERMISSIONS_API UpdatePolicyStoreRequest();
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 "UpdatePolicyStore"; }
32
33 AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override;
34
35 AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetPolicyStoreId() const{ return m_policyStoreId; }
43 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
44 inline void SetPolicyStoreId(const Aws::String& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = value; }
45 inline void SetPolicyStoreId(Aws::String&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::move(value); }
46 inline void SetPolicyStoreId(const char* value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId.assign(value); }
47 inline UpdatePolicyStoreRequest& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
48 inline UpdatePolicyStoreRequest& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
49 inline UpdatePolicyStoreRequest& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
51
53
57 inline const ValidationSettings& GetValidationSettings() const{ return m_validationSettings; }
58 inline bool ValidationSettingsHasBeenSet() const { return m_validationSettingsHasBeenSet; }
59 inline void SetValidationSettings(const ValidationSettings& value) { m_validationSettingsHasBeenSet = true; m_validationSettings = value; }
60 inline void SetValidationSettings(ValidationSettings&& value) { m_validationSettingsHasBeenSet = true; m_validationSettings = std::move(value); }
64
66
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline UpdatePolicyStoreRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline UpdatePolicyStoreRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline UpdatePolicyStoreRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79 private:
80
81 Aws::String m_policyStoreId;
82 bool m_policyStoreIdHasBeenSet = false;
83
84 ValidationSettings m_validationSettings;
85 bool m_validationSettingsHasBeenSet = false;
86
87 Aws::String m_description;
88 bool m_descriptionHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace VerifiedPermissions
93} // namespace Aws
UpdatePolicyStoreRequest & WithPolicyStoreId(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdatePolicyStoreRequest & WithDescription(const Aws::String &value)
UpdatePolicyStoreRequest & WithPolicyStoreId(const char *value)
UpdatePolicyStoreRequest & WithDescription(Aws::String &&value)
UpdatePolicyStoreRequest & WithValidationSettings(const ValidationSettings &value)
UpdatePolicyStoreRequest & WithPolicyStoreId(Aws::String &&value)
UpdatePolicyStoreRequest & WithValidationSettings(ValidationSettings &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
UpdatePolicyStoreRequest & WithDescription(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String