AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
ApplicationConfig.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/appintegrations/model/ContactHandling.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppIntegrationsService {
20namespace Model {
21
28 public:
29 AWS_APPINTEGRATIONSSERVICE_API ApplicationConfig() = default;
30 AWS_APPINTEGRATIONSSERVICE_API ApplicationConfig(Aws::Utils::Json::JsonView jsonValue);
31 AWS_APPINTEGRATIONSSERVICE_API ApplicationConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const ContactHandling& GetContactHandling() const { return m_contactHandling; }
39 inline bool ContactHandlingHasBeenSet() const { return m_contactHandlingHasBeenSet; }
40 template <typename ContactHandlingT = ContactHandling>
41 void SetContactHandling(ContactHandlingT&& value) {
42 m_contactHandlingHasBeenSet = true;
43 m_contactHandling = std::forward<ContactHandlingT>(value);
44 }
45 template <typename ContactHandlingT = ContactHandling>
46 ApplicationConfig& WithContactHandling(ContactHandlingT&& value) {
47 SetContactHandling(std::forward<ContactHandlingT>(value));
48 return *this;
49 }
51 private:
52 ContactHandling m_contactHandling;
53 bool m_contactHandlingHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace AppIntegrationsService
58} // namespace Aws
ApplicationConfig & WithContactHandling(ContactHandlingT &&value)
AWS_APPINTEGRATIONSSERVICE_API ApplicationConfig()=default
AWS_APPINTEGRATIONSSERVICE_API ApplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API ApplicationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue