AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutConfiguredAudienceModelPolicyRequest.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/CleanRoomsMLRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanroomsml/model/PolicyExistenceCondition.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CleanRoomsML
16{
17namespace Model
18{
19
23 {
24 public:
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 "PutConfiguredAudienceModelPolicy"; }
32
33 AWS_CLEANROOMSML_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetConfiguredAudienceModelArn() const{ return m_configuredAudienceModelArn; }
42 inline bool ConfiguredAudienceModelArnHasBeenSet() const { return m_configuredAudienceModelArnHasBeenSet; }
43 inline void SetConfiguredAudienceModelArn(const Aws::String& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = value; }
44 inline void SetConfiguredAudienceModelArn(Aws::String&& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = std::move(value); }
45 inline void SetConfiguredAudienceModelArn(const char* value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn.assign(value); }
50
52
55 inline const Aws::String& GetConfiguredAudienceModelPolicy() const{ return m_configuredAudienceModelPolicy; }
56 inline bool ConfiguredAudienceModelPolicyHasBeenSet() const { return m_configuredAudienceModelPolicyHasBeenSet; }
57 inline void SetConfiguredAudienceModelPolicy(const Aws::String& value) { m_configuredAudienceModelPolicyHasBeenSet = true; m_configuredAudienceModelPolicy = value; }
58 inline void SetConfiguredAudienceModelPolicy(Aws::String&& value) { m_configuredAudienceModelPolicyHasBeenSet = true; m_configuredAudienceModelPolicy = std::move(value); }
59 inline void SetConfiguredAudienceModelPolicy(const char* value) { m_configuredAudienceModelPolicyHasBeenSet = true; m_configuredAudienceModelPolicy.assign(value); }
64
66
70 inline const Aws::String& GetPreviousPolicyHash() const{ return m_previousPolicyHash; }
71 inline bool PreviousPolicyHashHasBeenSet() const { return m_previousPolicyHashHasBeenSet; }
72 inline void SetPreviousPolicyHash(const Aws::String& value) { m_previousPolicyHashHasBeenSet = true; m_previousPolicyHash = value; }
73 inline void SetPreviousPolicyHash(Aws::String&& value) { m_previousPolicyHashHasBeenSet = true; m_previousPolicyHash = std::move(value); }
74 inline void SetPreviousPolicyHash(const char* value) { m_previousPolicyHashHasBeenSet = true; m_previousPolicyHash.assign(value); }
79
81
84 inline const PolicyExistenceCondition& GetPolicyExistenceCondition() const{ return m_policyExistenceCondition; }
85 inline bool PolicyExistenceConditionHasBeenSet() const { return m_policyExistenceConditionHasBeenSet; }
86 inline void SetPolicyExistenceCondition(const PolicyExistenceCondition& value) { m_policyExistenceConditionHasBeenSet = true; m_policyExistenceCondition = value; }
87 inline void SetPolicyExistenceCondition(PolicyExistenceCondition&& value) { m_policyExistenceConditionHasBeenSet = true; m_policyExistenceCondition = std::move(value); }
91 private:
92
93 Aws::String m_configuredAudienceModelArn;
94 bool m_configuredAudienceModelArnHasBeenSet = false;
95
96 Aws::String m_configuredAudienceModelPolicy;
97 bool m_configuredAudienceModelPolicyHasBeenSet = false;
98
99 Aws::String m_previousPolicyHash;
100 bool m_previousPolicyHashHasBeenSet = false;
101
102 PolicyExistenceCondition m_policyExistenceCondition;
103 bool m_policyExistenceConditionHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace CleanRoomsML
108} // namespace Aws
PutConfiguredAudienceModelPolicyRequest & WithConfiguredAudienceModelPolicy(const Aws::String &value)
PutConfiguredAudienceModelPolicyRequest & WithConfiguredAudienceModelArn(Aws::String &&value)
PutConfiguredAudienceModelPolicyRequest & WithPreviousPolicyHash(Aws::String &&value)
PutConfiguredAudienceModelPolicyRequest & WithConfiguredAudienceModelArn(const char *value)
PutConfiguredAudienceModelPolicyRequest & WithPolicyExistenceCondition(PolicyExistenceCondition &&value)
PutConfiguredAudienceModelPolicyRequest & WithPreviousPolicyHash(const Aws::String &value)
PutConfiguredAudienceModelPolicyRequest & WithConfiguredAudienceModelPolicy(const char *value)
AWS_CLEANROOMSML_API Aws::String SerializePayload() const override
PutConfiguredAudienceModelPolicyRequest & WithConfiguredAudienceModelArn(const Aws::String &value)
PutConfiguredAudienceModelPolicyRequest & WithPreviousPolicyHash(const char *value)
PutConfiguredAudienceModelPolicyRequest & WithPolicyExistenceCondition(const PolicyExistenceCondition &value)
PutConfiguredAudienceModelPolicyRequest & WithConfiguredAudienceModelPolicy(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String