AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServiceNetworkRequest.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/VPCLatticeRequest.h>
9#include <aws/vpc-lattice/model/AuthType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace VPCLattice
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_VPCLATTICE_API UpdateServiceNetworkRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateServiceNetwork"; }
32
33 AWS_VPCLATTICE_API Aws::String SerializePayload() const override;
34
35
37
43 inline const AuthType& GetAuthType() const{ return m_authType; }
44 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
45 inline void SetAuthType(const AuthType& value) { m_authTypeHasBeenSet = true; m_authType = value; }
46 inline void SetAuthType(AuthType&& value) { m_authTypeHasBeenSet = true; m_authType = std::move(value); }
47 inline UpdateServiceNetworkRequest& WithAuthType(const AuthType& value) { SetAuthType(value); return *this;}
48 inline UpdateServiceNetworkRequest& WithAuthType(AuthType&& value) { SetAuthType(std::move(value)); return *this;}
50
52
55 inline const Aws::String& GetServiceNetworkIdentifier() const{ return m_serviceNetworkIdentifier; }
56 inline bool ServiceNetworkIdentifierHasBeenSet() const { return m_serviceNetworkIdentifierHasBeenSet; }
57 inline void SetServiceNetworkIdentifier(const Aws::String& value) { m_serviceNetworkIdentifierHasBeenSet = true; m_serviceNetworkIdentifier = value; }
58 inline void SetServiceNetworkIdentifier(Aws::String&& value) { m_serviceNetworkIdentifierHasBeenSet = true; m_serviceNetworkIdentifier = std::move(value); }
59 inline void SetServiceNetworkIdentifier(const char* value) { m_serviceNetworkIdentifierHasBeenSet = true; m_serviceNetworkIdentifier.assign(value); }
64 private:
65
66 AuthType m_authType;
67 bool m_authTypeHasBeenSet = false;
68
69 Aws::String m_serviceNetworkIdentifier;
70 bool m_serviceNetworkIdentifierHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace VPCLattice
75} // namespace Aws
UpdateServiceNetworkRequest & WithAuthType(const AuthType &value)
UpdateServiceNetworkRequest & WithServiceNetworkIdentifier(Aws::String &&value)
UpdateServiceNetworkRequest & WithServiceNetworkIdentifier(const char *value)
UpdateServiceNetworkRequest & WithServiceNetworkIdentifier(const Aws::String &value)
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
UpdateServiceNetworkRequest & WithAuthType(AuthType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String