AWS SDK for C++

AWS SDK for C++ Version 1.11.851

Loading...
Searching...
No Matches
LinuxCapabilities.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/LinuxCapability.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace GameLift {
21namespace Model {
22
56 public:
57 AWS_GAMELIFT_API LinuxCapabilities() = default;
58 AWS_GAMELIFT_API LinuxCapabilities(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
59 AWS_GAMELIFT_API LinuxCapabilities& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
60 AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
61
63
69 inline const Aws::Vector<LinuxCapability>& GetInclude() const { return m_include; }
70 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
71 template <typename IncludeT = Aws::Vector<LinuxCapability>>
72 void SetInclude(IncludeT&& value) {
73 m_includeHasBeenSet = true;
74 m_include = std::forward<IncludeT>(value);
75 }
76 template <typename IncludeT = Aws::Vector<LinuxCapability>>
77 LinuxCapabilities& WithInclude(IncludeT&& value) {
78 SetInclude(std::forward<IncludeT>(value));
79 return *this;
80 }
82 m_includeHasBeenSet = true;
83 m_include.push_back(value);
84 return *this;
85 }
87 private:
89 bool m_includeHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace GameLift
94} // namespace Aws
AWS_GAMELIFT_API LinuxCapabilities & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API LinuxCapabilities()=default
AWS_GAMELIFT_API LinuxCapabilities(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
LinuxCapabilities & AddInclude(LinuxCapability value)
LinuxCapabilities & WithInclude(IncludeT &&value)
const Aws::Vector< LinuxCapability > & GetInclude() const
std::vector< T, Aws::Allocator< T > > Vector