AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectionAliasAssociation.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/AssociationStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.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 WorkSpaces
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_WORKSPACES_API ConnectionAliasAssociation();
42 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const AssociationStatus& GetAssociationStatus() const{ return m_associationStatus; }
50 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
51 inline void SetAssociationStatus(const AssociationStatus& value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
52 inline void SetAssociationStatus(AssociationStatus&& value) { m_associationStatusHasBeenSet = true; m_associationStatus = std::move(value); }
56
58
62 inline const Aws::String& GetAssociatedAccountId() const{ return m_associatedAccountId; }
63 inline bool AssociatedAccountIdHasBeenSet() const { return m_associatedAccountIdHasBeenSet; }
64 inline void SetAssociatedAccountId(const Aws::String& value) { m_associatedAccountIdHasBeenSet = true; m_associatedAccountId = value; }
65 inline void SetAssociatedAccountId(Aws::String&& value) { m_associatedAccountIdHasBeenSet = true; m_associatedAccountId = std::move(value); }
66 inline void SetAssociatedAccountId(const char* value) { m_associatedAccountIdHasBeenSet = true; m_associatedAccountId.assign(value); }
68 inline ConnectionAliasAssociation& WithAssociatedAccountId(Aws::String&& value) { SetAssociatedAccountId(std::move(value)); return *this;}
69 inline ConnectionAliasAssociation& WithAssociatedAccountId(const char* value) { SetAssociatedAccountId(value); return *this;}
71
73
76 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
77 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
78 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
79 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
80 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
81 inline ConnectionAliasAssociation& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
82 inline ConnectionAliasAssociation& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
83 inline ConnectionAliasAssociation& WithResourceId(const char* value) { SetResourceId(value); return *this;}
85
87
92 inline const Aws::String& GetConnectionIdentifier() const{ return m_connectionIdentifier; }
93 inline bool ConnectionIdentifierHasBeenSet() const { return m_connectionIdentifierHasBeenSet; }
94 inline void SetConnectionIdentifier(const Aws::String& value) { m_connectionIdentifierHasBeenSet = true; m_connectionIdentifier = value; }
95 inline void SetConnectionIdentifier(Aws::String&& value) { m_connectionIdentifierHasBeenSet = true; m_connectionIdentifier = std::move(value); }
96 inline void SetConnectionIdentifier(const char* value) { m_connectionIdentifierHasBeenSet = true; m_connectionIdentifier.assign(value); }
99 inline ConnectionAliasAssociation& WithConnectionIdentifier(const char* value) { SetConnectionIdentifier(value); return *this;}
101 private:
102
103 AssociationStatus m_associationStatus;
104 bool m_associationStatusHasBeenSet = false;
105
106 Aws::String m_associatedAccountId;
107 bool m_associatedAccountIdHasBeenSet = false;
108
109 Aws::String m_resourceId;
110 bool m_resourceIdHasBeenSet = false;
111
112 Aws::String m_connectionIdentifier;
113 bool m_connectionIdentifierHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace WorkSpaces
118} // namespace Aws
ConnectionAliasAssociation & WithConnectionIdentifier(const Aws::String &value)
ConnectionAliasAssociation & WithAssociatedAccountId(const char *value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectionAliasAssociation & WithResourceId(Aws::String &&value)
ConnectionAliasAssociation & WithResourceId(const char *value)
ConnectionAliasAssociation & WithAssociationStatus(AssociationStatus &&value)
AWS_WORKSPACES_API ConnectionAliasAssociation(Aws::Utils::Json::JsonView jsonValue)
ConnectionAliasAssociation & WithAssociatedAccountId(const Aws::String &value)
AWS_WORKSPACES_API ConnectionAliasAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectionAliasAssociation & WithConnectionIdentifier(Aws::String &&value)
ConnectionAliasAssociation & WithAssociatedAccountId(Aws::String &&value)
ConnectionAliasAssociation & WithResourceId(const Aws::String &value)
ConnectionAliasAssociation & WithConnectionIdentifier(const char *value)
ConnectionAliasAssociation & WithAssociationStatus(const AssociationStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue