AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceMetadataDefaultsResponse.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/HttpTokensState.h>
10#include <aws/ec2/model/InstanceMetadataEndpointState.h>
11#include <aws/ec2/model/InstanceMetadataTagsState.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace EC2
24{
25namespace Model
26{
27
36 {
37 public:
41
42 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
53 inline const HttpTokensState& GetHttpTokens() const{ return m_httpTokens; }
54 inline bool HttpTokensHasBeenSet() const { return m_httpTokensHasBeenSet; }
55 inline void SetHttpTokens(const HttpTokensState& value) { m_httpTokensHasBeenSet = true; m_httpTokens = value; }
56 inline void SetHttpTokens(HttpTokensState&& value) { m_httpTokensHasBeenSet = true; m_httpTokens = std::move(value); }
58 inline InstanceMetadataDefaultsResponse& WithHttpTokens(HttpTokensState&& value) { SetHttpTokens(std::move(value)); return *this;}
60
62
65 inline int GetHttpPutResponseHopLimit() const{ return m_httpPutResponseHopLimit; }
66 inline bool HttpPutResponseHopLimitHasBeenSet() const { return m_httpPutResponseHopLimitHasBeenSet; }
67 inline void SetHttpPutResponseHopLimit(int value) { m_httpPutResponseHopLimitHasBeenSet = true; m_httpPutResponseHopLimit = value; }
70
72
76 inline const InstanceMetadataEndpointState& GetHttpEndpoint() const{ return m_httpEndpoint; }
77 inline bool HttpEndpointHasBeenSet() const { return m_httpEndpointHasBeenSet; }
78 inline void SetHttpEndpoint(const InstanceMetadataEndpointState& value) { m_httpEndpointHasBeenSet = true; m_httpEndpoint = value; }
79 inline void SetHttpEndpoint(InstanceMetadataEndpointState&& value) { m_httpEndpointHasBeenSet = true; m_httpEndpoint = std::move(value); }
83
85
92 inline const InstanceMetadataTagsState& GetInstanceMetadataTags() const{ return m_instanceMetadataTags; }
93 inline bool InstanceMetadataTagsHasBeenSet() const { return m_instanceMetadataTagsHasBeenSet; }
94 inline void SetInstanceMetadataTags(const InstanceMetadataTagsState& value) { m_instanceMetadataTagsHasBeenSet = true; m_instanceMetadataTags = value; }
95 inline void SetInstanceMetadataTags(InstanceMetadataTagsState&& value) { m_instanceMetadataTagsHasBeenSet = true; m_instanceMetadataTags = std::move(value); }
99 private:
100
101 HttpTokensState m_httpTokens;
102 bool m_httpTokensHasBeenSet = false;
103
104 int m_httpPutResponseHopLimit;
105 bool m_httpPutResponseHopLimitHasBeenSet = false;
106
107 InstanceMetadataEndpointState m_httpEndpoint;
108 bool m_httpEndpointHasBeenSet = false;
109
110 InstanceMetadataTagsState m_instanceMetadataTags;
111 bool m_instanceMetadataTagsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace EC2
116} // namespace Aws
void SetInstanceMetadataTags(const InstanceMetadataTagsState &value)
InstanceMetadataDefaultsResponse & WithInstanceMetadataTags(InstanceMetadataTagsState &&value)
InstanceMetadataDefaultsResponse & WithHttpPutResponseHopLimit(int value)
const InstanceMetadataEndpointState & GetHttpEndpoint() const
InstanceMetadataDefaultsResponse & WithHttpTokens(const HttpTokensState &value)
InstanceMetadataDefaultsResponse & WithHttpTokens(HttpTokensState &&value)
AWS_EC2_API InstanceMetadataDefaultsResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHttpEndpoint(InstanceMetadataEndpointState &&value)
InstanceMetadataDefaultsResponse & WithHttpEndpoint(InstanceMetadataEndpointState &&value)
AWS_EC2_API InstanceMetadataDefaultsResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHttpEndpoint(const InstanceMetadataEndpointState &value)
InstanceMetadataDefaultsResponse & WithInstanceMetadataTags(const InstanceMetadataTagsState &value)
const InstanceMetadataTagsState & GetInstanceMetadataTags() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InstanceMetadataDefaultsResponse & WithHttpEndpoint(const InstanceMetadataEndpointState &value)
void SetInstanceMetadataTags(InstanceMetadataTagsState &&value)
std::basic_ostream< char, std::char_traits< char > > OStream