AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HandshakeParty.h
1
6#pragma once
7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/model/HandshakePartyType.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 Organizations
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ORGANIZATIONS_API HandshakeParty();
36 AWS_ORGANIZATIONS_API HandshakeParty(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ORGANIZATIONS_API HandshakeParty& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline HandshakeParty& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline HandshakeParty& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline HandshakeParty& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const HandshakePartyType& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const HandshakePartyType& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(HandshakePartyType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline HandshakeParty& WithType(const HandshakePartyType& value) { SetType(value); return *this;}
66 inline HandshakeParty& WithType(HandshakePartyType&& value) { SetType(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_id;
71 bool m_idHasBeenSet = false;
72
73 HandshakePartyType m_type;
74 bool m_typeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Organizations
79} // namespace Aws
const HandshakePartyType & GetType() const
HandshakeParty & WithId(const Aws::String &value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
HandshakeParty & WithType(const HandshakePartyType &value)
void SetType(const HandshakePartyType &value)
AWS_ORGANIZATIONS_API HandshakeParty(Aws::Utils::Json::JsonView jsonValue)
AWS_ORGANIZATIONS_API HandshakeParty & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(HandshakePartyType &&value)
HandshakeParty & WithId(const char *value)
void SetId(const Aws::String &value)
HandshakeParty & WithType(HandshakePartyType &&value)
AWS_ORGANIZATIONS_API HandshakeParty()
HandshakeParty & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue