AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAccountRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/apigateway/model/PatchOperation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace APIGateway
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_APIGATEWAY_API UpdateAccountRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateAccount"; }
36
37 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
38
39
41
46 inline const Aws::Vector<PatchOperation>& GetPatchOperations() const{ return m_patchOperations; }
47 inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
48 inline void SetPatchOperations(const Aws::Vector<PatchOperation>& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
49 inline void SetPatchOperations(Aws::Vector<PatchOperation>&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = std::move(value); }
52 inline UpdateAccountRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
53 inline UpdateAccountRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<PatchOperation> m_patchOperations;
58 bool m_patchOperationsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace APIGateway
63} // namespace Aws
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
const Aws::Vector< PatchOperation > & GetPatchOperations() const
void SetPatchOperations(Aws::Vector< PatchOperation > &&value)
UpdateAccountRequest & AddPatchOperations(PatchOperation &&value)
UpdateAccountRequest & AddPatchOperations(const PatchOperation &value)
UpdateAccountRequest & WithPatchOperations(Aws::Vector< PatchOperation > &&value)
UpdateAccountRequest & WithPatchOperations(const Aws::Vector< PatchOperation > &value)
virtual const char * GetServiceRequestName() const override
void SetPatchOperations(const Aws::Vector< PatchOperation > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector