AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InstanceMetadataOptions.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace imagebuilder
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_IMAGEBUILDER_API InstanceMetadataOptions() = default;
43 AWS_IMAGEBUILDER_API InstanceMetadataOptions(Aws::Utils::Json::JsonView jsonValue);
45 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
59 inline const Aws::String& GetHttpTokens() const { return m_httpTokens; }
60 inline bool HttpTokensHasBeenSet() const { return m_httpTokensHasBeenSet; }
61 template<typename HttpTokensT = Aws::String>
62 void SetHttpTokens(HttpTokensT&& value) { m_httpTokensHasBeenSet = true; m_httpTokens = std::forward<HttpTokensT>(value); }
63 template<typename HttpTokensT = Aws::String>
64 InstanceMetadataOptions& WithHttpTokens(HttpTokensT&& value) { SetHttpTokens(std::forward<HttpTokensT>(value)); return *this;}
66
68
73 inline int GetHttpPutResponseHopLimit() const { return m_httpPutResponseHopLimit; }
74 inline bool HttpPutResponseHopLimitHasBeenSet() const { return m_httpPutResponseHopLimitHasBeenSet; }
75 inline void SetHttpPutResponseHopLimit(int value) { m_httpPutResponseHopLimitHasBeenSet = true; m_httpPutResponseHopLimit = value; }
78 private:
79
80 Aws::String m_httpTokens;
81 bool m_httpTokensHasBeenSet = false;
82
83 int m_httpPutResponseHopLimit{0};
84 bool m_httpPutResponseHopLimitHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace imagebuilder
89} // namespace Aws
InstanceMetadataOptions & WithHttpPutResponseHopLimit(int value)
InstanceMetadataOptions & WithHttpTokens(HttpTokensT &&value)
AWS_IMAGEBUILDER_API InstanceMetadataOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API InstanceMetadataOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API InstanceMetadataOptions()=default
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue