AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
47 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
48 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
49 inline UpdateQAppSessionRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
50 inline UpdateQAppSessionRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
51 inline UpdateQAppSessionRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
53
55
58 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
59 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
60 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
61 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
62 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
63 inline UpdateQAppSessionRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
64 inline UpdateQAppSessionRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
65 inline UpdateQAppSessionRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
67
69
72 inline const Aws::Vector<CardValue>& GetValues() const{ return m_values; }
73 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
74 inline void SetValues(const Aws::Vector<CardValue>& value) { m_valuesHasBeenSet = true; m_values = value; }
75 inline void SetValues(Aws::Vector<CardValue>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
76 inline UpdateQAppSessionRequest& WithValues(const Aws::Vector<CardValue>& value) { SetValues(value); return *this;}
77 inline UpdateQAppSessionRequest& WithValues(Aws::Vector<CardValue>&& value) { SetValues(std::move(value)); return *this;}
78 inline UpdateQAppSessionRequest& AddValues(const CardValue& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
79 inline UpdateQAppSessionRequest& AddValues(CardValue&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
81 private:
82
83 Aws::String m_instanceId;
84 bool m_instanceIdHasBeenSet = false;
85
86 Aws::String m_sessionId;
87 bool m_sessionIdHasBeenSet = false;
88
90 bool m_valuesHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QApps
95} // namespace Aws
AWS_QAPPS_API Aws::String SerializePayload() const override
UpdateQAppSessionRequest & AddValues(const CardValue &value)
virtual const char * GetServiceRequestName() const override
void SetValues(Aws::Vector< CardValue > &&value)
UpdateQAppSessionRequest & AddValues(CardValue &&value)
UpdateQAppSessionRequest & WithInstanceId(const char *value)
UpdateQAppSessionRequest & WithSessionId(const Aws::String &value)
UpdateQAppSessionRequest & WithInstanceId(Aws::String &&value)
const Aws::Vector< CardValue > & GetValues() const
UpdateQAppSessionRequest & WithValues(const Aws::Vector< CardValue > &value)
void SetValues(const Aws::Vector< CardValue > &value)
UpdateQAppSessionRequest & WithSessionId(const char *value)
UpdateQAppSessionRequest & WithInstanceId(const Aws::String &value)
UpdateQAppSessionRequest & WithSessionId(Aws::String &&value)
UpdateQAppSessionRequest & WithValues(Aws::Vector< CardValue > &&value)
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector