7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10#include <aws/logs/model/PolicyType.h>
11#include <aws/logs/model/Scope.h>
16namespace CloudWatchLogs {
42 template <
typename PolicyNameT = Aws::String>
44 m_policyNameHasBeenSet =
true;
45 m_policyName = std::forward<PolicyNameT>(value);
47 template <
typename PolicyNameT = Aws::String>
127 template <
typename PolicyDocumentT = Aws::String>
129 m_policyDocumentHasBeenSet =
true;
130 m_policyDocument = std::forward<PolicyDocumentT>(value);
132 template <
typename PolicyDocumentT = Aws::String>
146 m_policyTypeHasBeenSet =
true;
147 m_policyType = value;
165 m_scopeHasBeenSet =
true;
203 template <
typename SelectionCriteriaT = Aws::String>
205 m_selectionCriteriaHasBeenSet =
true;
206 m_selectionCriteria = std::forward<SelectionCriteriaT>(value);
208 template <
typename SelectionCriteriaT = Aws::String>
224 bool m_policyNameHasBeenSet =
false;
225 bool m_policyDocumentHasBeenSet =
false;
226 bool m_policyTypeHasBeenSet =
false;
227 bool m_scopeHasBeenSet =
false;
228 bool m_selectionCriteriaHasBeenSet =
false;
const Aws::String & GetPolicyName() const
PutAccountPolicyRequest & WithPolicyDocument(PolicyDocumentT &&value)
PutAccountPolicyRequest & WithPolicyType(PolicyType value)
const Aws::String & GetPolicyDocument() const
bool PolicyDocumentHasBeenSet() const
bool ScopeHasBeenSet() const
void SetSelectionCriteria(SelectionCriteriaT &&value)
PutAccountPolicyRequest & WithScope(Scope value)
const Aws::String & GetSelectionCriteria() const
PutAccountPolicyRequest & WithPolicyName(PolicyNameT &&value)
AWS_CLOUDWATCHLOGS_API PutAccountPolicyRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PolicyType GetPolicyType() const
void SetPolicyDocument(PolicyDocumentT &&value)
bool SelectionCriteriaHasBeenSet() const
bool PolicyNameHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
void SetPolicyType(PolicyType value)
void SetPolicyName(PolicyNameT &&value)
bool PolicyTypeHasBeenSet() const
PutAccountPolicyRequest & WithSelectionCriteria(SelectionCriteriaT &&value)
void SetScope(Scope value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String