AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateQAppSessionRequest.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/qapps/QAppsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/qapps/model/CardValue.h>
12#include <utility>
13
14namespace Aws
15{
16namespace QApps
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_QAPPS_API UpdateQAppSessionRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateQAppSession"; }
33
34 AWS_QAPPS_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
45 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 template<typename InstanceIdT = Aws::String>
47 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
48 template<typename InstanceIdT = Aws::String>
49 UpdateQAppSessionRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetSessionId() const { return m_sessionId; }
57 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
58 template<typename SessionIdT = Aws::String>
59 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
60 template<typename SessionIdT = Aws::String>
61 UpdateQAppSessionRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
63
65
68 inline const Aws::Vector<CardValue>& GetValues() const { return m_values; }
69 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
70 template<typename ValuesT = Aws::Vector<CardValue>>
71 void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
72 template<typename ValuesT = Aws::Vector<CardValue>>
73 UpdateQAppSessionRequest& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
74 template<typename ValuesT = CardValue>
75 UpdateQAppSessionRequest& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(value)); return *this; }
77 private:
78
79 Aws::String m_instanceId;
80 bool m_instanceIdHasBeenSet = false;
81
82 Aws::String m_sessionId;
83 bool m_sessionIdHasBeenSet = false;
84
86 bool m_valuesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QApps
91} // namespace Aws
AWS_QAPPS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateQAppSessionRequest & WithInstanceId(InstanceIdT &&value)
UpdateQAppSessionRequest & WithSessionId(SessionIdT &&value)
AWS_QAPPS_API UpdateQAppSessionRequest()=default
const Aws::Vector< CardValue > & GetValues() const
UpdateQAppSessionRequest & AddValues(ValuesT &&value)
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateQAppSessionRequest & WithValues(ValuesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector