AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename PatchOperationsT = Aws::Vector<PatchOperation>>
49 void SetPatchOperations(PatchOperationsT&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = std::forward<PatchOperationsT>(value); }
50 template<typename PatchOperationsT = Aws::Vector<PatchOperation>>
51 UpdateAccountRequest& WithPatchOperations(PatchOperationsT&& value) { SetPatchOperations(std::forward<PatchOperationsT>(value)); return *this;}
52 template<typename PatchOperationsT = PatchOperation>
53 UpdateAccountRequest& AddPatchOperations(PatchOperationsT&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.emplace_back(std::forward<PatchOperationsT>(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
AWS_APIGATEWAY_API UpdateAccountRequest()=default
void SetPatchOperations(PatchOperationsT &&value)
const Aws::Vector< PatchOperation > & GetPatchOperations() const
UpdateAccountRequest & AddPatchOperations(PatchOperationsT &&value)
virtual const char * GetServiceRequestName() const override
UpdateAccountRequest & WithPatchOperations(PatchOperationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector