AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServiceRequest.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 UpdateServiceRequest();
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 "UpdateService"; }
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 UpdateServiceRequest& WithAuthType(const AuthType& value) { SetAuthType(value); return *this;}
48 inline UpdateServiceRequest& WithAuthType(AuthType&& value) { SetAuthType(std::move(value)); return *this;}
50
52
55 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
56 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
57 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
58 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
59 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
60 inline UpdateServiceRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
61 inline UpdateServiceRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
62 inline UpdateServiceRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
64
66
69 inline const Aws::String& GetServiceIdentifier() const{ return m_serviceIdentifier; }
70 inline bool ServiceIdentifierHasBeenSet() const { return m_serviceIdentifierHasBeenSet; }
71 inline void SetServiceIdentifier(const Aws::String& value) { m_serviceIdentifierHasBeenSet = true; m_serviceIdentifier = value; }
72 inline void SetServiceIdentifier(Aws::String&& value) { m_serviceIdentifierHasBeenSet = true; m_serviceIdentifier = std::move(value); }
73 inline void SetServiceIdentifier(const char* value) { m_serviceIdentifierHasBeenSet = true; m_serviceIdentifier.assign(value); }
74 inline UpdateServiceRequest& WithServiceIdentifier(const Aws::String& value) { SetServiceIdentifier(value); return *this;}
75 inline UpdateServiceRequest& WithServiceIdentifier(Aws::String&& value) { SetServiceIdentifier(std::move(value)); return *this;}
76 inline UpdateServiceRequest& WithServiceIdentifier(const char* value) { SetServiceIdentifier(value); return *this;}
78 private:
79
80 AuthType m_authType;
81 bool m_authTypeHasBeenSet = false;
82
83 Aws::String m_certificateArn;
84 bool m_certificateArnHasBeenSet = false;
85
86 Aws::String m_serviceIdentifier;
87 bool m_serviceIdentifierHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace VPCLattice
92} // namespace Aws
void SetCertificateArn(const Aws::String &value)
UpdateServiceRequest & WithAuthType(const AuthType &value)
UpdateServiceRequest & WithServiceIdentifier(const char *value)
UpdateServiceRequest & WithCertificateArn(Aws::String &&value)
UpdateServiceRequest & WithServiceIdentifier(Aws::String &&value)
UpdateServiceRequest & WithCertificateArn(const char *value)
void SetServiceIdentifier(const Aws::String &value)
UpdateServiceRequest & WithServiceIdentifier(const Aws::String &value)
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateServiceRequest & WithCertificateArn(const Aws::String &value)
UpdateServiceRequest & WithAuthType(AuthType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String