AWS SDK for C++

AWS SDK for C++ Version 1.11.916

Loading...
Searching...
No Matches
DimensionDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/pi/PI_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace PI {
20namespace Model {
21
28 public:
29 AWS_PI_API DimensionDetail() = default;
30 AWS_PI_API DimensionDetail(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_PI_API DimensionDetail& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_PI_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
38 inline const Aws::String& GetIdentifier() const { return m_identifier; }
39 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
40 template <typename IdentifierT = Aws::String>
41 void SetIdentifier(IdentifierT&& value) {
42 m_identifierHasBeenSet = true;
43 m_identifier = std::forward<IdentifierT>(value);
44 }
45 template <typename IdentifierT = Aws::String>
46 DimensionDetail& WithIdentifier(IdentifierT&& value) {
47 SetIdentifier(std::forward<IdentifierT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_identifier;
53 bool m_identifierHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace PI
58} // namespace Aws
const Aws::String & GetIdentifier() const
AWS_PI_API DimensionDetail & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_PI_API DimensionDetail(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
DimensionDetail & WithIdentifier(IdentifierT &&value)
void SetIdentifier(IdentifierT &&value)
AWS_PI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_PI_API DimensionDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String