AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LaunchTemplateInstanceMetadataOptionsRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/LaunchTemplateHttpTokensState.h>
10#include <aws/ec2/model/LaunchTemplateInstanceMetadataEndpointState.h>
11#include <aws/ec2/model/LaunchTemplateInstanceMetadataProtocolIpv6.h>
12#include <aws/ec2/model/LaunchTemplateInstanceMetadataTagsState.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
28
38 {
39 public:
43
44 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
63 inline const LaunchTemplateHttpTokensState& GetHttpTokens() const{ return m_httpTokens; }
64 inline bool HttpTokensHasBeenSet() const { return m_httpTokensHasBeenSet; }
65 inline void SetHttpTokens(const LaunchTemplateHttpTokensState& value) { m_httpTokensHasBeenSet = true; m_httpTokens = value; }
66 inline void SetHttpTokens(LaunchTemplateHttpTokensState&& value) { m_httpTokensHasBeenSet = true; m_httpTokens = std::move(value); }
70
72
77 inline int GetHttpPutResponseHopLimit() const{ return m_httpPutResponseHopLimit; }
78 inline bool HttpPutResponseHopLimitHasBeenSet() const { return m_httpPutResponseHopLimitHasBeenSet; }
79 inline void SetHttpPutResponseHopLimit(int value) { m_httpPutResponseHopLimitHasBeenSet = true; m_httpPutResponseHopLimit = value; }
82
84
90 inline const LaunchTemplateInstanceMetadataEndpointState& GetHttpEndpoint() const{ return m_httpEndpoint; }
91 inline bool HttpEndpointHasBeenSet() const { return m_httpEndpointHasBeenSet; }
92 inline void SetHttpEndpoint(const LaunchTemplateInstanceMetadataEndpointState& value) { m_httpEndpointHasBeenSet = true; m_httpEndpoint = value; }
93 inline void SetHttpEndpoint(LaunchTemplateInstanceMetadataEndpointState&& value) { m_httpEndpointHasBeenSet = true; m_httpEndpoint = std::move(value); }
97
99
103 inline const LaunchTemplateInstanceMetadataProtocolIpv6& GetHttpProtocolIpv6() const{ return m_httpProtocolIpv6; }
104 inline bool HttpProtocolIpv6HasBeenSet() const { return m_httpProtocolIpv6HasBeenSet; }
105 inline void SetHttpProtocolIpv6(const LaunchTemplateInstanceMetadataProtocolIpv6& value) { m_httpProtocolIpv6HasBeenSet = true; m_httpProtocolIpv6 = value; }
106 inline void SetHttpProtocolIpv6(LaunchTemplateInstanceMetadataProtocolIpv6&& value) { m_httpProtocolIpv6HasBeenSet = true; m_httpProtocolIpv6 = std::move(value); }
110
112
120 inline const LaunchTemplateInstanceMetadataTagsState& GetInstanceMetadataTags() const{ return m_instanceMetadataTags; }
121 inline bool InstanceMetadataTagsHasBeenSet() const { return m_instanceMetadataTagsHasBeenSet; }
122 inline void SetInstanceMetadataTags(const LaunchTemplateInstanceMetadataTagsState& value) { m_instanceMetadataTagsHasBeenSet = true; m_instanceMetadataTags = value; }
123 inline void SetInstanceMetadataTags(LaunchTemplateInstanceMetadataTagsState&& value) { m_instanceMetadataTagsHasBeenSet = true; m_instanceMetadataTags = std::move(value); }
127 private:
128
130 bool m_httpTokensHasBeenSet = false;
131
132 int m_httpPutResponseHopLimit;
133 bool m_httpPutResponseHopLimitHasBeenSet = false;
134
136 bool m_httpEndpointHasBeenSet = false;
137
139 bool m_httpProtocolIpv6HasBeenSet = false;
140
141 LaunchTemplateInstanceMetadataTagsState m_instanceMetadataTags;
142 bool m_instanceMetadataTagsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace EC2
147} // namespace Aws
LaunchTemplateInstanceMetadataOptionsRequest & WithInstanceMetadataTags(const LaunchTemplateInstanceMetadataTagsState &value)
LaunchTemplateInstanceMetadataOptionsRequest & WithHttpProtocolIpv6(const LaunchTemplateInstanceMetadataProtocolIpv6 &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LaunchTemplateInstanceMetadataOptionsRequest & WithHttpTokens(LaunchTemplateHttpTokensState &&value)
LaunchTemplateInstanceMetadataOptionsRequest & WithInstanceMetadataTags(LaunchTemplateInstanceMetadataTagsState &&value)
void SetInstanceMetadataTags(const LaunchTemplateInstanceMetadataTagsState &value)
AWS_EC2_API LaunchTemplateInstanceMetadataOptionsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
LaunchTemplateInstanceMetadataOptionsRequest & WithHttpPutResponseHopLimit(int value)
void SetHttpProtocolIpv6(const LaunchTemplateInstanceMetadataProtocolIpv6 &value)
const LaunchTemplateInstanceMetadataProtocolIpv6 & GetHttpProtocolIpv6() const
LaunchTemplateInstanceMetadataOptionsRequest & WithHttpTokens(const LaunchTemplateHttpTokensState &value)
LaunchTemplateInstanceMetadataOptionsRequest & WithHttpProtocolIpv6(LaunchTemplateInstanceMetadataProtocolIpv6 &&value)
void SetHttpEndpoint(const LaunchTemplateInstanceMetadataEndpointState &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LaunchTemplateInstanceMetadataOptionsRequest & WithHttpEndpoint(LaunchTemplateInstanceMetadataEndpointState &&value)
AWS_EC2_API LaunchTemplateInstanceMetadataOptionsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
LaunchTemplateInstanceMetadataOptionsRequest & WithHttpEndpoint(const LaunchTemplateInstanceMetadataEndpointState &value)
const LaunchTemplateInstanceMetadataEndpointState & GetHttpEndpoint() const
std::basic_ostream< char, std::char_traits< char > > OStream