AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 AuthType GetAuthType() const { return m_authType; }
44 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
45 inline void SetAuthType(AuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
46 inline UpdateServiceNetworkRequest& WithAuthType(AuthType value) { SetAuthType(value); return *this;}
48
50
53 inline const Aws::String& GetServiceNetworkIdentifier() const { return m_serviceNetworkIdentifier; }
54 inline bool ServiceNetworkIdentifierHasBeenSet() const { return m_serviceNetworkIdentifierHasBeenSet; }
55 template<typename ServiceNetworkIdentifierT = Aws::String>
56 void SetServiceNetworkIdentifier(ServiceNetworkIdentifierT&& value) { m_serviceNetworkIdentifierHasBeenSet = true; m_serviceNetworkIdentifier = std::forward<ServiceNetworkIdentifierT>(value); }
57 template<typename ServiceNetworkIdentifierT = Aws::String>
58 UpdateServiceNetworkRequest& WithServiceNetworkIdentifier(ServiceNetworkIdentifierT&& value) { SetServiceNetworkIdentifier(std::forward<ServiceNetworkIdentifierT>(value)); return *this;}
60 private:
61
62 AuthType m_authType{AuthType::NOT_SET};
63 bool m_authTypeHasBeenSet = false;
64
65 Aws::String m_serviceNetworkIdentifier;
66 bool m_serviceNetworkIdentifierHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace VPCLattice
71} // namespace Aws
UpdateServiceNetworkRequest & WithServiceNetworkIdentifier(ServiceNetworkIdentifierT &&value)
void SetServiceNetworkIdentifier(ServiceNetworkIdentifierT &&value)
UpdateServiceNetworkRequest & WithAuthType(AuthType value)
AWS_VPCLATTICE_API UpdateServiceNetworkRequest()=default
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String