AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyVerifiedAccessGroupPolicyResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/VerifiedAccessSseSpecificationResponse.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline bool GetPolicyEnabled() const{ return m_policyEnabled; }
42 inline void SetPolicyEnabled(bool value) { m_policyEnabled = value; }
45
47
50 inline const Aws::String& GetPolicyDocument() const{ return m_policyDocument; }
51 inline void SetPolicyDocument(const Aws::String& value) { m_policyDocument = value; }
52 inline void SetPolicyDocument(Aws::String&& value) { m_policyDocument = std::move(value); }
53 inline void SetPolicyDocument(const char* value) { m_policyDocument.assign(value); }
56 inline ModifyVerifiedAccessGroupPolicyResponse& WithPolicyDocument(const char* value) { SetPolicyDocument(value); return *this;}
58
60
63 inline const VerifiedAccessSseSpecificationResponse& GetSseSpecification() const{ return m_sseSpecification; }
64 inline void SetSseSpecification(const VerifiedAccessSseSpecificationResponse& value) { m_sseSpecification = value; }
65 inline void SetSseSpecification(VerifiedAccessSseSpecificationResponse&& value) { m_sseSpecification = std::move(value); }
69
71
72 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
73 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
74 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
78 private:
79
80 bool m_policyEnabled;
81
82 Aws::String m_policyDocument;
83
85
86 ResponseMetadata m_responseMetadata;
87 };
88
89} // namespace Model
90} // namespace EC2
91} // namespace Aws
ModifyVerifiedAccessGroupPolicyResponse & WithPolicyDocument(const Aws::String &value)
AWS_EC2_API ModifyVerifiedAccessGroupPolicyResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetSseSpecification(VerifiedAccessSseSpecificationResponse &&value)
ModifyVerifiedAccessGroupPolicyResponse & WithResponseMetadata(const ResponseMetadata &value)
ModifyVerifiedAccessGroupPolicyResponse & WithPolicyEnabled(bool value)
ModifyVerifiedAccessGroupPolicyResponse & WithSseSpecification(VerifiedAccessSseSpecificationResponse &&value)
ModifyVerifiedAccessGroupPolicyResponse & WithPolicyDocument(Aws::String &&value)
ModifyVerifiedAccessGroupPolicyResponse & WithPolicyDocument(const char *value)
ModifyVerifiedAccessGroupPolicyResponse & WithResponseMetadata(ResponseMetadata &&value)
ModifyVerifiedAccessGroupPolicyResponse & WithSseSpecification(const VerifiedAccessSseSpecificationResponse &value)
const VerifiedAccessSseSpecificationResponse & GetSseSpecification() const
void SetSseSpecification(const VerifiedAccessSseSpecificationResponse &value)
AWS_EC2_API ModifyVerifiedAccessGroupPolicyResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument