AWS SDK for C++

AWS SDK for C++ Version 1.11.676

Loading...
Searching...
No Matches
UpdateLoggingConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivschat/IvschatRequest.h>
9#include <aws/ivschat/Ivschat_EXPORTS.h>
10#include <aws/ivschat/model/DestinationConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ivschat {
16namespace Model {
17
21 public:
22 AWS_IVSCHAT_API UpdateLoggingConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateLoggingConfiguration"; }
29
30 AWS_IVSCHAT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetIdentifier() const { return m_identifier; }
37 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
38 template <typename IdentifierT = Aws::String>
39 void SetIdentifier(IdentifierT&& value) {
40 m_identifierHasBeenSet = true;
41 m_identifier = std::forward<IdentifierT>(value);
42 }
43 template <typename IdentifierT = Aws::String>
45 SetIdentifier(std::forward<IdentifierT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
75 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
76 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
77 template <typename DestinationConfigurationT = DestinationConfiguration>
78 void SetDestinationConfiguration(DestinationConfigurationT&& value) {
79 m_destinationConfigurationHasBeenSet = true;
80 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
81 }
82 template <typename DestinationConfigurationT = DestinationConfiguration>
84 SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_identifier;
90 bool m_identifierHasBeenSet = false;
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 DestinationConfiguration m_destinationConfiguration;
96 bool m_destinationConfigurationHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace ivschat
101} // namespace Aws
UpdateLoggingConfigurationRequest & WithDestinationConfiguration(DestinationConfigurationT &&value)
UpdateLoggingConfigurationRequest & WithName(NameT &&value)
AWS_IVSCHAT_API Aws::String SerializePayload() const override
UpdateLoggingConfigurationRequest & WithIdentifier(IdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String