AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSolFunctionPackageRequest.h
1
6#pragma once
7#include <aws/tnb/Tnb_EXPORTS.h>
8#include <aws/tnb/TnbRequest.h>
9#include <aws/tnb/model/OperationalState.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace tnb
16{
17namespace Model
18{
19
23 {
24 public:
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 "UpdateSolFunctionPackage"; }
32
33 AWS_TNB_API Aws::String SerializePayload() const override;
34
35
37
40 inline const OperationalState& GetOperationalState() const{ return m_operationalState; }
41 inline bool OperationalStateHasBeenSet() const { return m_operationalStateHasBeenSet; }
42 inline void SetOperationalState(const OperationalState& value) { m_operationalStateHasBeenSet = true; m_operationalState = value; }
43 inline void SetOperationalState(OperationalState&& value) { m_operationalStateHasBeenSet = true; m_operationalState = std::move(value); }
47
49
52 inline const Aws::String& GetVnfPkgId() const{ return m_vnfPkgId; }
53 inline bool VnfPkgIdHasBeenSet() const { return m_vnfPkgIdHasBeenSet; }
54 inline void SetVnfPkgId(const Aws::String& value) { m_vnfPkgIdHasBeenSet = true; m_vnfPkgId = value; }
55 inline void SetVnfPkgId(Aws::String&& value) { m_vnfPkgIdHasBeenSet = true; m_vnfPkgId = std::move(value); }
56 inline void SetVnfPkgId(const char* value) { m_vnfPkgIdHasBeenSet = true; m_vnfPkgId.assign(value); }
57 inline UpdateSolFunctionPackageRequest& WithVnfPkgId(const Aws::String& value) { SetVnfPkgId(value); return *this;}
58 inline UpdateSolFunctionPackageRequest& WithVnfPkgId(Aws::String&& value) { SetVnfPkgId(std::move(value)); return *this;}
59 inline UpdateSolFunctionPackageRequest& WithVnfPkgId(const char* value) { SetVnfPkgId(value); return *this;}
61 private:
62
63 OperationalState m_operationalState;
64 bool m_operationalStateHasBeenSet = false;
65
66 Aws::String m_vnfPkgId;
67 bool m_vnfPkgIdHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace tnb
72} // namespace Aws
UpdateSolFunctionPackageRequest & WithVnfPkgId(const char *value)
UpdateSolFunctionPackageRequest & WithVnfPkgId(const Aws::String &value)
UpdateSolFunctionPackageRequest & WithOperationalState(const OperationalState &value)
AWS_TNB_API Aws::String SerializePayload() const override
UpdateSolFunctionPackageRequest & WithVnfPkgId(Aws::String &&value)
UpdateSolFunctionPackageRequest & WithOperationalState(OperationalState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String