AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
43 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
44 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
45 inline UpdateLoggingConfigurationRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
46 inline UpdateLoggingConfigurationRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
47 inline UpdateLoggingConfigurationRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline UpdateLoggingConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline UpdateLoggingConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline UpdateLoggingConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
63
65
71 inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; }
72 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
73 inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; }
74 inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); }
78 private:
79
80 Aws::String m_identifier;
81 bool m_identifierHasBeenSet = false;
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 DestinationConfiguration m_destinationConfiguration;
87 bool m_destinationConfigurationHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ivschat
92} // namespace Aws
UpdateLoggingConfigurationRequest & WithName(Aws::String &&value)
UpdateLoggingConfigurationRequest & WithDestinationConfiguration(const DestinationConfiguration &value)
UpdateLoggingConfigurationRequest & WithName(const Aws::String &value)
UpdateLoggingConfigurationRequest & WithIdentifier(Aws::String &&value)
void SetDestinationConfiguration(const DestinationConfiguration &value)
UpdateLoggingConfigurationRequest & WithIdentifier(const Aws::String &value)
UpdateLoggingConfigurationRequest & WithName(const char *value)
AWS_IVSCHAT_API Aws::String SerializePayload() const override
UpdateLoggingConfigurationRequest & WithIdentifier(const char *value)
UpdateLoggingConfigurationRequest & WithDestinationConfiguration(DestinationConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String