AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 LaunchTemplateHttpTokensState GetHttpTokens() const { return m_httpTokens; }
64 inline bool HttpTokensHasBeenSet() const { return m_httpTokensHasBeenSet; }
65 inline void SetHttpTokens(LaunchTemplateHttpTokensState value) { m_httpTokensHasBeenSet = true; m_httpTokens = value; }
68
70
75 inline int GetHttpPutResponseHopLimit() const { return m_httpPutResponseHopLimit; }
76 inline bool HttpPutResponseHopLimitHasBeenSet() const { return m_httpPutResponseHopLimitHasBeenSet; }
77 inline void SetHttpPutResponseHopLimit(int value) { m_httpPutResponseHopLimitHasBeenSet = true; m_httpPutResponseHopLimit = value; }
80
82
88 inline LaunchTemplateInstanceMetadataEndpointState GetHttpEndpoint() const { return m_httpEndpoint; }
89 inline bool HttpEndpointHasBeenSet() const { return m_httpEndpointHasBeenSet; }
90 inline void SetHttpEndpoint(LaunchTemplateInstanceMetadataEndpointState value) { m_httpEndpointHasBeenSet = true; m_httpEndpoint = value; }
93
95
99 inline LaunchTemplateInstanceMetadataProtocolIpv6 GetHttpProtocolIpv6() const { return m_httpProtocolIpv6; }
100 inline bool HttpProtocolIpv6HasBeenSet() const { return m_httpProtocolIpv6HasBeenSet; }
101 inline void SetHttpProtocolIpv6(LaunchTemplateInstanceMetadataProtocolIpv6 value) { m_httpProtocolIpv6HasBeenSet = true; m_httpProtocolIpv6 = value; }
104
106
114 inline LaunchTemplateInstanceMetadataTagsState GetInstanceMetadataTags() const { return m_instanceMetadataTags; }
115 inline bool InstanceMetadataTagsHasBeenSet() const { return m_instanceMetadataTagsHasBeenSet; }
116 inline void SetInstanceMetadataTags(LaunchTemplateInstanceMetadataTagsState value) { m_instanceMetadataTagsHasBeenSet = true; m_instanceMetadataTags = value; }
119 private:
120
122 bool m_httpTokensHasBeenSet = false;
123
124 int m_httpPutResponseHopLimit{0};
125 bool m_httpPutResponseHopLimitHasBeenSet = false;
126
128 bool m_httpEndpointHasBeenSet = false;
129
131 bool m_httpProtocolIpv6HasBeenSet = false;
132
134 bool m_instanceMetadataTagsHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace EC2
139} // namespace Aws
LaunchTemplateInstanceMetadataOptionsRequest & WithInstanceMetadataTags(LaunchTemplateInstanceMetadataTagsState value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API LaunchTemplateInstanceMetadataOptionsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
LaunchTemplateInstanceMetadataOptionsRequest & WithHttpPutResponseHopLimit(int value)
LaunchTemplateInstanceMetadataOptionsRequest & WithHttpProtocolIpv6(LaunchTemplateInstanceMetadataProtocolIpv6 value)
LaunchTemplateInstanceMetadataOptionsRequest & WithHttpEndpoint(LaunchTemplateInstanceMetadataEndpointState value)
LaunchTemplateInstanceMetadataOptionsRequest & WithHttpTokens(LaunchTemplateHttpTokensState value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API LaunchTemplateInstanceMetadataOptionsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream