AWS SDK for C++

AWS SDK for C++ Version 1.11.939

Loading...
Searching...
No Matches
ELBInfo.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace CodeDeploy {
20namespace Model {
21
29class ELBInfo {
30 public:
31 AWS_CODEDEPLOY_API ELBInfo() = default;
32 AWS_CODEDEPLOY_API ELBInfo(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CODEDEPLOY_API ELBInfo& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CODEDEPLOY_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template <typename NameT = Aws::String>
48 void SetName(NameT&& value) {
49 m_nameHasBeenSet = true;
50 m_name = std::forward<NameT>(value);
51 }
52 template <typename NameT = Aws::String>
53 ELBInfo& WithName(NameT&& value) {
54 SetName(std::forward<NameT>(value));
55 return *this;
56 }
58 private:
59 Aws::String m_name;
60 bool m_nameHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace CodeDeploy
65} // namespace Aws
AWS_CODEDEPLOY_API ELBInfo()=default
AWS_CODEDEPLOY_API ELBInfo & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODEDEPLOY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetName() const
Definition ELBInfo.h:45
void SetName(NameT &&value)
Definition ELBInfo.h:48
AWS_CODEDEPLOY_API ELBInfo(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ELBInfo & WithName(NameT &&value)
Definition ELBInfo.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String