AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChannelTargetInfo.h
1
6#pragma once
7#include <aws/ssm-contacts/SSMContacts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSMContacts
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SSMCONTACTS_API ChannelTargetInfo();
36 AWS_SSMCONTACTS_API ChannelTargetInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetContactChannelId() const{ return m_contactChannelId; }
46 inline bool ContactChannelIdHasBeenSet() const { return m_contactChannelIdHasBeenSet; }
47 inline void SetContactChannelId(const Aws::String& value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId = value; }
48 inline void SetContactChannelId(Aws::String&& value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId = std::move(value); }
49 inline void SetContactChannelId(const char* value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId.assign(value); }
50 inline ChannelTargetInfo& WithContactChannelId(const Aws::String& value) { SetContactChannelId(value); return *this;}
51 inline ChannelTargetInfo& WithContactChannelId(Aws::String&& value) { SetContactChannelId(std::move(value)); return *this;}
52 inline ChannelTargetInfo& WithContactChannelId(const char* value) { SetContactChannelId(value); return *this;}
54
56
60 inline int GetRetryIntervalInMinutes() const{ return m_retryIntervalInMinutes; }
61 inline bool RetryIntervalInMinutesHasBeenSet() const { return m_retryIntervalInMinutesHasBeenSet; }
62 inline void SetRetryIntervalInMinutes(int value) { m_retryIntervalInMinutesHasBeenSet = true; m_retryIntervalInMinutes = value; }
65 private:
66
67 Aws::String m_contactChannelId;
68 bool m_contactChannelIdHasBeenSet = false;
69
70 int m_retryIntervalInMinutes;
71 bool m_retryIntervalInMinutesHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SSMContacts
76} // namespace Aws
AWS_SSMCONTACTS_API ChannelTargetInfo(Aws::Utils::Json::JsonView jsonValue)
ChannelTargetInfo & WithRetryIntervalInMinutes(int value)
const Aws::String & GetContactChannelId() const
ChannelTargetInfo & WithContactChannelId(const Aws::String &value)
ChannelTargetInfo & WithContactChannelId(Aws::String &&value)
void SetContactChannelId(const Aws::String &value)
AWS_SSMCONTACTS_API ChannelTargetInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const
ChannelTargetInfo & WithContactChannelId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue