AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateLoggingConfigurationRequest.h
1
6#pragma once
7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/ivschat/IvschatRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ivschat/model/DestinationConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ivschat
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IVSCHAT_API UpdateLoggingConfigurationRequest() = 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 "UpdateLoggingConfiguration"; }
32
33 AWS_IVSCHAT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetIdentifier() const { return m_identifier; }
41 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
42 template<typename IdentifierT = Aws::String>
43 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
44 template<typename IdentifierT = Aws::String>
45 UpdateLoggingConfigurationRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 UpdateLoggingConfigurationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
67 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
68 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
69 template<typename DestinationConfigurationT = DestinationConfiguration>
70 void SetDestinationConfiguration(DestinationConfigurationT&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::forward<DestinationConfigurationT>(value); }
71 template<typename DestinationConfigurationT = DestinationConfiguration>
72 UpdateLoggingConfigurationRequest& WithDestinationConfiguration(DestinationConfigurationT&& value) { SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value)); return *this;}
74 private:
75
76 Aws::String m_identifier;
77 bool m_identifierHasBeenSet = false;
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81
82 DestinationConfiguration m_destinationConfiguration;
83 bool m_destinationConfigurationHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ivschat
88} // 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