AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Association.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/braket/model/AssociationType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Braket
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BRAKET_API Association() = default;
37 AWS_BRAKET_API Association(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 Association& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline AssociationType GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(AssociationType value) { m_typeHasBeenSet = true; m_type = value; }
61 inline Association& WithType(AssociationType value) { SetType(value); return *this;}
63 private:
64
65 Aws::String m_arn;
66 bool m_arnHasBeenSet = false;
67
69 bool m_typeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Braket
74} // namespace Aws
AWS_BRAKET_API Association(Aws::Utils::Json::JsonView jsonValue)
AWS_BRAKET_API Association & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(AssociationType value)
Definition Association.h:60
Association & WithArn(ArnT &&value)
Definition Association.h:51
AWS_BRAKET_API Association()=default
AssociationType GetType() const
Definition Association.h:58
Association & WithType(AssociationType value)
Definition Association.h:61
const Aws::String & GetArn() const
Definition Association.h:46
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue