AWS SDK for C++  1.9.105
AWS SDK for C++
HandshakeFilter.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Organizations
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
47  inline const ActionType& GetActionType() const{ return m_actionType; }
48 
54  inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
55 
61  inline void SetActionType(const ActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
62 
68  inline void SetActionType(ActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
69 
75  inline HandshakeFilter& WithActionType(const ActionType& value) { SetActionType(value); return *this;}
76 
82  inline HandshakeFilter& WithActionType(ActionType&& value) { SetActionType(std::move(value)); return *this;}
83 
84 
92  inline const Aws::String& GetParentHandshakeId() const{ return m_parentHandshakeId; }
93 
101  inline bool ParentHandshakeIdHasBeenSet() const { return m_parentHandshakeIdHasBeenSet; }
102 
110  inline void SetParentHandshakeId(const Aws::String& value) { m_parentHandshakeIdHasBeenSet = true; m_parentHandshakeId = value; }
111 
119  inline void SetParentHandshakeId(Aws::String&& value) { m_parentHandshakeIdHasBeenSet = true; m_parentHandshakeId = std::move(value); }
120 
128  inline void SetParentHandshakeId(const char* value) { m_parentHandshakeIdHasBeenSet = true; m_parentHandshakeId.assign(value); }
129 
137  inline HandshakeFilter& WithParentHandshakeId(const Aws::String& value) { SetParentHandshakeId(value); return *this;}
138 
146  inline HandshakeFilter& WithParentHandshakeId(Aws::String&& value) { SetParentHandshakeId(std::move(value)); return *this;}
147 
155  inline HandshakeFilter& WithParentHandshakeId(const char* value) { SetParentHandshakeId(value); return *this;}
156 
157  private:
158 
159  ActionType m_actionType;
160  bool m_actionTypeHasBeenSet;
161 
162  Aws::String m_parentHandshakeId;
163  bool m_parentHandshakeIdHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace Organizations
168 } // namespace Aws
Aws::Organizations::Model::HandshakeFilter::WithActionType
HandshakeFilter & WithActionType(const ActionType &value)
Definition: HandshakeFilter.h:75
Aws::Organizations::Model::HandshakeFilter::HandshakeFilter
HandshakeFilter(Aws::Utils::Json::JsonView jsonValue)
Aws::Organizations::Model::HandshakeFilter::SetParentHandshakeId
void SetParentHandshakeId(Aws::String &&value)
Definition: HandshakeFilter.h:119
Aws::Organizations::Model::HandshakeFilter::WithParentHandshakeId
HandshakeFilter & WithParentHandshakeId(const char *value)
Definition: HandshakeFilter.h:155
Aws::Organizations::Model::HandshakeFilter::HandshakeFilter
HandshakeFilter()
Aws::Organizations::Model::ActionType
ActionType
Definition: ActionType.h:17
Aws::Organizations::Model::HandshakeFilter::WithParentHandshakeId
HandshakeFilter & WithParentHandshakeId(const Aws::String &value)
Definition: HandshakeFilter.h:137
Aws::Organizations::Model::HandshakeFilter
Definition: HandshakeFilter.h:34
Aws::Organizations::Model::HandshakeFilter::GetActionType
const ActionType & GetActionType() const
Definition: HandshakeFilter.h:47
Aws::Organizations::Model::HandshakeFilter::SetActionType
void SetActionType(ActionType &&value)
Definition: HandshakeFilter.h:68
Aws::Organizations::Model::HandshakeFilter::GetParentHandshakeId
const Aws::String & GetParentHandshakeId() const
Definition: HandshakeFilter.h:92
Aws::Organizations::Model::HandshakeFilter::WithParentHandshakeId
HandshakeFilter & WithParentHandshakeId(Aws::String &&value)
Definition: HandshakeFilter.h:146
Aws::Organizations::Model::HandshakeFilter::SetActionType
void SetActionType(const ActionType &value)
Definition: HandshakeFilter.h:61
Aws::Organizations::Model::HandshakeFilter::SetParentHandshakeId
void SetParentHandshakeId(const char *value)
Definition: HandshakeFilter.h:128
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
Aws::Organizations::Model::HandshakeFilter::WithActionType
HandshakeFilter & WithActionType(ActionType &&value)
Definition: HandshakeFilter.h:82
ActionType.h
Aws::Organizations::Model::HandshakeFilter::ParentHandshakeIdHasBeenSet
bool ParentHandshakeIdHasBeenSet() const
Definition: HandshakeFilter.h:101
Aws::Organizations::Model::HandshakeFilter::operator=
HandshakeFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Organizations::Model::HandshakeFilter::ActionTypeHasBeenSet
bool ActionTypeHasBeenSet() const
Definition: HandshakeFilter.h:54
Aws::Organizations::Model::HandshakeFilter::SetParentHandshakeId
void SetParentHandshakeId(const Aws::String &value)
Definition: HandshakeFilter.h:110
Aws
Definition: AccessManagementClient.h:15
Aws::Organizations::Model::HandshakeFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Organizations_EXPORTS.h